public function getSession() { if (!$this->_session) { $this->_session = new THttpSession(); $this->_session->init(null); } return $this->_session; }