公共控制器

使用公共控制器(模块控制器)

Idea框架中并没有定义控制器基类,所以

一般项目中,我们都可能会使用公共控制器,在Idea中,我们默认使用公共控制器,在其中等模板引擎的配置操作。在Idea framework中没有内置控制器基类。
其它控制器必须继承于公共控制器

<?php
/**
 * 后台入口控制器
 */
namespace appadmincontroller;

//继承公共控制器类
class Index extends appadmincontrollerCommon
{
}
文章导航