is_logged_in(); } public function is_logged_in() { $logged = $this->userdata('nopmbunla'); $this->logged_in = ($logged) ? TRUE : FALSE; } }