|||| – caches_*||||||||||||| – admin.| – index.| – crossdomain.| – robots.| – favicon.PHPCMS是采用MVC設計模式開發,/模塊名稱 phpcms//modules/模塊 'extended_1' => 'hostname' => '10.10.125.2', 'database' => 'phpcms', 'username' => 'admin', 'password' => 'admin', 'tablepre' => 'v9_', 'charset' => 'gbk', 'type' => 'mysql', 'debug' => , 'pconnect' => 0, 'autoconnect' => 0,?>/configs/route.<? 'default'=>('m'=>'admin', 'c'=>'index', 'a'=>'init'), 'test.youname.com'=>('m'=>'test', 'c'=>'index', 'a'=>'init'),?>['catid'<? 'default'=>'m'=>'phpcms', 'c'=>'index', 'a'=>'init', 'data'=>'POST'=>'catid'=>1, 'GET'=>'contentid'=>1?>=2那麼你在程序中使用/configs/.1.2.3.4.5.6.///:"default"/modules/模塊/+.php,例如一個名為mytest的控制器,那麼他的命名為mytest.1.mytest.<? ?>: http: 2.mytest_admin.<?('IN_PHPCMS') or ('No permission resources.'::load_app_class('admin','admin',0 mytest_admin = 'oh,i am phpcmser' ?>1.\模塊名稱 目錄中,本示例也就在phpcms\templates\: template('test', 'mytest', 'default',. = 'hello world!' template('test', 'mytest', 'default'2. ->admin_tpl('mytest_admin_list'.tpl.php,注意:後台模板必須以.tpl.. = 'oh,i am phpcmser' ->admin_tpl('mytest_admin_list'/model/+'_model.class.php'"test",首先需要建立一個數據庫模型文件,文件名稱為'test_model.class.php'<?('IN_PHPCMS') or ('No permission resources.'::load_sys_class('model', '', 0 test_model ->db_config = pc_base::load_config('database'->db_setting = 'default'->table_name = 'test'::?>1.2.->db_setting = 'default'3.->table_name = 'test'->db = pc_base::load_model('test_model'<? ?>->db中所支持的方法請參照phpcms/libs/classes/model..php中方法