Welcome Guest, Not a member yet? Register   Sign In
Personal library and Undefined property $input
#4

[eluser]DarkManX[/eluser]
you should save the instance of the ci-object to your library property in the controctor, so you dont have to copy&paste; for each method. something like that:

Code:
function __construct(){
$this->CI =& get_instance();
}


Messages In This Thread
Personal library and Undefined property $input - by El Forum - 08-28-2012, 08:33 AM
Personal library and Undefined property $input - by El Forum - 08-28-2012, 08:41 AM
Personal library and Undefined property $input - by El Forum - 08-28-2012, 08:53 AM
Personal library and Undefined property $input - by El Forum - 08-28-2012, 08:55 AM
Personal library and Undefined property $input - by El Forum - 08-29-2012, 09:14 AM
Personal library and Undefined property $input - by El Forum - 08-29-2012, 01:38 PM
Personal library and Undefined property $input - by El Forum - 12-21-2012, 05:17 AM
Personal library and Undefined property $input - by El Forum - 12-21-2012, 08:37 AM
Personal library and Undefined property $input - by El Forum - 12-21-2012, 10:07 AM
Personal library and Undefined property $input - by El Forum - 12-21-2012, 11:26 AM
Personal library and Undefined property $input - by El Forum - 12-21-2012, 11:33 AM
Personal library and Undefined property $input - by El Forum - 12-24-2012, 07:41 AM
Personal library and Undefined property $input - by El Forum - 12-24-2012, 09:18 AM
Personal library and Undefined property $input - by El Forum - 12-28-2012, 06:18 PM



Theme © iAndrew 2016 - Forum software by © MyBB