Why is the $_get[[] array here a way of it?

Source: Internet
Author: User
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.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.