public function getRedirect()
    {
        if (!$this->isRedirect())
            return null;

        if ($this->isPermanentRedirect())
            return substr($this->name, 19);

        return substr($this->name, 9);
    }
public function getRedirect()
    {
        if (!$this->isRedirect())
            return null;

        if ($this->isPermanentRedirect())
            return substr($this->name, 19);

        return substr($this->name, 9);
    }
public function getRedirect ( ) { if ( ! $ this -> isRedirect ( ) ) return null ; if ( $ this -> isPermanentRedirect ( ) ) return substr ( $ this -> name , 19 ) ; return substr ( $ this -> name , 9 ) ; }
Returns the redirect value for this view, providing it's a redirect

@return string
Returns the redirect value for this view providing it s a redirect