The object in the inside calls the method instead of writing index (), but is written as-$a () Why is that?
Reply to discussion (solution)
$_get[' A ' is a parameter name on the hyperlink, $a = Not $_get, you'll know when you hit $ A.
My question is:
Why not write this $controller->index () here?
but it was written $contrlooer-> $a ()
The sword is very happy
That's completely fine.
"Sword King" Pandora 2014/11/22 14:14:37
Why not write this $controller->index () here?
14:14:50
"Sword King" Pandora 2014/11/22 14:14:50
But it was written $contrlooer-> $a ()
"Jian Zun" very happy 2014/11/22 14:15:13
$controller->index () write it down.
14:16:52
"Jian Zun" very happy 2014/11/22 14:16:52
In this case, the URL a can only be equal to index can only adjust the method of index:
"Jian Zun" very happy 2014/11/22 14:17:08
A controller is definitely not the only way to index this one.
This is a reference value.