private function setRedirections(SimpleXMLElement $element)
    {
        $pages = $element->addChild('redirections');
        $this->setRedirection($pages, 'default', 'default');
        $this->setRedirection($pages, 'page_not_found', 'pageNotFound');
        $this->setRedirection($pages, 'login', 'login');
        $this->setRedirection($pages, 'login_redirection', 'loginRedirection');
        $this->setRedirection($pages, 'logout_redirection', 'logoutRedirection');
        $this->setRedirection($pages, 'alias_not_found', 'aliasNotFound');
        $this->setRedirection($pages, 'alias_locked', 'aliasLocked');
    }
private function setRedirections(SimpleXMLElement $element)
    {
        $pages = $element->addChild('redirections');
        $this->setRedirection($pages, 'default', 'default');
        $this->setRedirection($pages, 'page_not_found', 'pageNotFound');
        $this->setRedirection($pages, 'login', 'login');
        $this->setRedirection($pages, 'login_redirection', 'loginRedirection');
        $this->setRedirection($pages, 'logout_redirection', 'logoutRedirection');
        $this->setRedirection($pages, 'alias_not_found', 'aliasNotFound');
        $this->setRedirection($pages, 'alias_locked', 'aliasLocked');
    }
private function setRedirections ( SimpleXMLElement $ element ) { $ pages = $ element -> addChild ( 'redirections' ) ; $ this -> setRedirection ( $ pages , 'default' , 'default' ) ; $ this -> setRedirection ( $ pages , 'page_not_found' , 'pageNotFound' ) ; $ this -> setRedirection ( $ pages , 'login' , 'login' ) ; $ this -> setRedirection ( $ pages , 'login_redirection' , 'loginRedirection' ) ; $ this -> setRedirection ( $ pages , 'logout_redirection' , 'logoutRedirection' ) ; $ this -> setRedirection ( $ pages , 'alias_not_found' , 'aliasNotFound' ) ; $ this -> setRedirection ( $ pages , 'alias_locked' , 'aliasLocked' ) ; }
Build redirection pointers for special cases.
@param SimpleXMLElement $element Parent element to put pages collection.
Build redirection pointers for special cases .