Welcome Guest, Not a member yet? Register   Sign In
Controller structure
#3

[eluser]vps4[/eluser]
[quote author="php_penguin" date="1213514232"]the admin default controller is Admin::index()

If you want to make a differently named controller run in place of the index, just call the method you want. For example, if you want Admin::A() to run, just add:
Code:
$this->A();
to the index method of the admin controller.[/quote]

no, please see my second part codes
it have no admin.php
admin is a folder


Messages In This Thread
Controller structure - by El Forum - 06-14-2008, 07:36 PM
Controller structure - by El Forum - 06-14-2008, 08:17 PM
Controller structure - by El Forum - 06-14-2008, 08:48 PM
Controller structure - by El Forum - 06-14-2008, 08:50 PM
Controller structure - by El Forum - 06-15-2008, 01:22 AM
Controller structure - by El Forum - 06-15-2008, 01:40 AM
Controller structure - by El Forum - 06-16-2008, 02:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB