Welcome Guest, Not a member yet? Register   Sign In
Converting an existing app - what to do with my functions?
#5

[eluser]ckeller[/eluser]
Thanks. If I wanted to use the CI libraries in those functions, is there a way that I could still use them without creating a new instance of the main CI object? (basically like the example given when creating your own library)

public $CI;

$this->CI =& get_instance();
$this->CI->load->helper('url');
$this->CI->load->library('session');
$this->CI->load->database();


Messages In This Thread
Converting an existing app - what to do with my functions? - by El Forum - 07-28-2009, 12:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB