• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.