protected function validateRedirectUserRole()
    {
        $value = $this->getSubmitted('redirect');

        if (isset($value) && mb_strlen($value) > 255) {
            $this->setErrorLengthRange('redirect', $this->translation->text('Redirect'), 0, 255);
            return false;
        }

        return true;
    }
protected function validateRedirectUserRole()
    {
        $value = $this->getSubmitted('redirect');

        if (isset($value) && mb_strlen($value) > 255) {
            $this->setErrorLengthRange('redirect', $this->translation->text('Redirect'), 0, 255);
            return false;
        }

        return true;
    }
protected function validateRedirectUserRole ( ) { $ value = $ this -> getSubmitted ( 'redirect' ) ; if ( isset ( $ value ) && mb_strlen ( $ value ) > 255 ) { $ this -> setErrorLengthRange ( 'redirect' , $ this -> translation -> text ( 'Redirect' ) , 0 , 255 ) ; return false ; } return true ; }
Validates a redirect path
@return boolean
Validates a redirect path