__ Double underline beginning, collectively known as Magic Method
Empty Operation method
1. Do the Empty method (write method in subclass)
function _empty ()
{
echo "page does not exist, please check the browser address information";
}
2. Make Default template (bad, controllability poor)
NULL controller
Do the empty controller, write the empty method inside
Cross-controller invocation
1. Method of making objects
$index =new Indexcontroller ();//Case sensitive here
echo $index->shuchu ();
2. Using a method to create an object method (Quick Method)
$index = A ("controller name");
3. Use the R method to create an object and invoke a specific action method
R ("Method name in the Controller object name/object");
Cross-module invocation
1.A method
$index = A ("Module name/Controller name")
2.R method
R ("Module name/Build Controller object name/method name inside Object");
PHP TP NULL operation NULL Controller