Welcome Guest, Not a member yet? Register   Sign In
Simple Controler/Class naming problem
#2

[eluser]überfuzz[/eluser]
If you're puzzled about how to set up controllers you're really better off checking with the all mighty user_guide. But any way, you need a function named as the controller. Try something like this:
Code:
class Test extends controller
{
   function Test()
   {
      parent::__construct();
   }
    
}

You should be able to reach it like this. www.yoursite.com/test


Messages In This Thread
Simple Controler/Class naming problem - by El Forum - 12-03-2009, 04:53 AM
Simple Controler/Class naming problem - by El Forum - 12-03-2009, 10:03 AM
Simple Controler/Class naming problem - by El Forum - 12-03-2009, 11:38 AM
Simple Controler/Class naming problem - by El Forum - 12-03-2009, 11:58 AM
Simple Controler/Class naming problem - by El Forum - 12-03-2009, 01:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB