load->library('session'); $this->load->helper('fhcauth'); $this->_uid = getAuthUID(); } public function getUID() { if (empty($this->_uid)) return false; else return $this->_uid; } }