CodeIgniter Forums
ci? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: ci? (/showthread.php?tid=49689)



ci? - El Forum - 02-28-2012

[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.






ci? - El Forum - 02-29-2012

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