public function rootEntry()
    {
        $this->defaultData();
        if (\common_session_SessionManager::isAnonymous()) {
            /* @var $urlRouteService DefaultUrlService */
            $urlRouteService = $this->getServiceLocator()->get(DefaultUrlService::SERVICE_ID);
            $this->redirect($urlRouteService->getLoginUrl());
        } else {
            $this->redirect(_url('entry', 'Main', 'tao'));
        }
    }
public function rootEntry()
    {
        $this->defaultData();
        if (\common_session_SessionManager::isAnonymous()) {
            /* @var $urlRouteService DefaultUrlService */
            $urlRouteService = $this->getServiceLocator()->get(DefaultUrlService::SERVICE_ID);
            $this->redirect($urlRouteService->getLoginUrl());
        } else {
            $this->redirect(_url('entry', 'Main', 'tao'));
        }
    }
public function rootEntry ( ) { $ this -> defaultData ( ) ; if ( \ common_session_SessionManager :: isAnonymous ( ) ) { /* @var $urlRouteService DefaultUrlService */ $ urlRouteService = $ this -> getServiceLocator ( ) -> get ( DefaultUrlService :: SERVICE_ID ) ; $ this -> redirect ( $ urlRouteService -> getLoginUrl ( ) ) ; } else { $ this -> redirect ( _url ( 'entry' , 'Main' , 'tao' ) ) ; } }
Action used to redirect request made to root of tao.
Action used to redirect request made to root of tao .