标签:
系统常量信息:get_defined_constants();
跨控制器调用:
1.public function Show(){
$m = new MainController();
echo $m->Main();
}
2.A方法:public function Show(){
$m = A("Home/Main");
echo $m->Info();
}
3R方法: public function Show(){
echo $m = R("Home/Main/Info");
}
标签:
原文地址:http://www.cnblogs.com/shark1100913/p/5483931.html