Prado\TApplication::getSession PHP 메소드

getSession() 공개 메소드

public getSession ( ) : THttpSession
리턴 Prado\Web\THttpSession the session module, null if session module is not installed
    public function getSession()
    {
        if (!$this->_session) {
            $this->_session = new THttpSession();
            $this->_session->init(null);
        }
        return $this->_session;
    }