PHPCMS Usage Summary

Source: Internet
Author: User

1.api This directory is the application interface, where you can see all the interface files

2.caches This directory contains all the relevant cache files, such as: Page Home cache in Cache_templates

3.phpcms This directory is the main program file directory, the front and back files are here

1.model corresponds to the database table data file, including the corresponding data processing method

2.modules this corresponds to the front and back of all the module files, easy to manage, admin_tpl the background files, template tune is the foreground file

2.1 Module files have corresponding classes (application Class), Functions (module method), templates (the template corresponding to the background module), the other is the corresponding controller inside the module

3.templates this corresponds to the foreground of all the pages, using the Smarty template separation

4.phpsso_server is a PHP-developed single sign-on system

5.statics This directory is used to store js,css,images

6.uploadfiles This directory is used to save uploaded files

$test = Pc_base::load_app_class (' classname ', ' test '); Instantiate the ClassName class under test module

Pc_base::load_app_class ($class, $m, $init)//Load application class files, classes under each module

Pc_base::load_app_func (global,test);//Call the test module's global function package

Pc_base::load_sys_class ()//Load class library file from "phpcms/libs/classes/"

Pc_base::load_sys_func (' extention ');//load system function library libs/functions/extention.func.php

Pc_base::auto_load_func ();//Auto load AutoLoad directory under function library libs/functions/autoload/

Pc_base::load_model ($table);//Load data model, that is, load related database tables

PHPCMS Usage Summary

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.