public function setLoginTarget(CNabuSiteTarget $nb_site_target)
    {
        $nb_site = $this->nb_engine->getHTTPServer()->getSite();
        if ($nb_site instanceof CNabuSite) {
            return $nb_site->setLoginTarget($nb_site_target);
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_SITE_NOT_INSTANTIATED);
        }
    }
public function setLoginTarget(CNabuSiteTarget $nb_site_target)
    {
        $nb_site = $this->nb_engine->getHTTPServer()->getSite();
        if ($nb_site instanceof CNabuSite) {
            return $nb_site->setLoginTarget($nb_site_target);
        } else {
            throw new ENabuCoreException(ENabuCoreException::ERROR_SITE_NOT_INSTANTIATED);
        }
    }
public function setLoginTarget ( CNabuSiteTarget $ nb_site_target ) { $ nb_site = $ this -> nb_engine -> getHTTPServer ( ) -> getSite ( ) ; if ( $ nb_site instanceof CNabuSite ) { return $ nb_site -> setLoginTarget ( $ nb_site_target ) ; } else { throw new ENabuCoreException ( ENabuCoreException :: ERROR_SITE_NOT_INSTANTIATED ) ; } }
Sets the Login Target when private zones are requested.
@param CNabuSiteTarget $nb_site_target Site Target to be setted.
@return Returns the target setted.
@throws ENabuCoreException Throws an exception it the Site is not initialized.
Sets the Login Target when private zones are requested .