Welcome Guest, Not a member yet? Register   Sign In
Problems with custom controllers
#3

[eluser]Unknown[/eluser]
Thanks but that was not really what I was looking for. The name "MY_Testcontroller" was merely there for demonstrating that anything other than "MY_Controller" doesn't seem to work. I started out with just "ACL_Controller" which ofcourse failed.

Code:
class Testar extends MY_Testcontroller {
    
    function Testar() {
        parent::MY_Testcontroller();
    }
    
    function index() {
        echo "hello";
    }
}
This is what I tried to do, but doesn't really work.


Messages In This Thread
Problems with custom controllers - by El Forum - 09-06-2009, 08:10 AM
Problems with custom controllers - by El Forum - 09-06-2009, 08:36 AM
Problems with custom controllers - by El Forum - 09-06-2009, 08:43 AM
Problems with custom controllers - by El Forum - 09-06-2009, 06:08 PM



Theme © iAndrew 2016 - Forum software by © MyBB