Welcome Guest, Not a member yet? Register   Sign In
simple scope issue
#4

[eluser]John_Betong[/eluser]
I was under the impression that with CI2 it was essential to use the following construct:
Code:
class Main extends CI_Controller {

       function __construct() /* and NOT function Main() */
       {
            parent::__construct();
            // Your own constructor code
       }
}
 
 
 


Messages In This Thread
simple scope issue - by El Forum - 02-25-2011, 11:35 AM
simple scope issue - by El Forum - 02-25-2011, 11:56 AM
simple scope issue - by El Forum - 02-25-2011, 01:15 PM
simple scope issue - by El Forum - 02-26-2011, 02:32 AM
simple scope issue - by El Forum - 02-26-2011, 03:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB