Welcome Guest, Not a member yet? Register   Sign In
ci?
#1

[eluser]solid9[/eluser]
Hi guys I stumble upon this code below,

Code:
public function logged_in()
{
$this->ci->ion_auth_model->trigger_events('logged_in');
$identity = $this->ci->config->item('identity', 'ion_auth');
return (bool) $this->ci->session->userdata($identity);
}

Okay noticed the,
Code:
$identity = $this->ci->config->item('identity', 'ion_auth');

So what is the "ci" between the $this and config ?

I hope some one will give shed.

Thanks in advanced.



#2

[eluser]Aken[/eluser]
See: Utilizing CodeIgniter Resources within Your Library




Theme © iAndrew 2016 - Forum software by © MyBB