protected function validateMetaTitle()
    {
        $field = 'meta_title';
        $value = $this->getSubmitted($field);

        if (!isset($value)) {
            $this->unsetSubmitted($field);
            return true;
        }

        if (mb_strlen($value) > 60) {
            $this->setErrorLengthRange($field, $this->translation->text('Meta title'), 0, 60);
            return false;
        }

        return true;
    }
protected function validateMetaTitle()
    {
        $field = 'meta_title';
        $value = $this->getSubmitted($field);

        if (!isset($value)) {
            $this->unsetSubmitted($field);
            return true;
        }

        if (mb_strlen($value) > 60) {
            $this->setErrorLengthRange($field, $this->translation->text('Meta title'), 0, 60);
            return false;
        }

        return true;
    }
protected function validateMetaTitle ( ) { $ field = 'meta_title' ; $ value = $ this -> getSubmitted ( $ field ) ; if ( ! isset ( $ value ) ) { $ this -> unsetSubmitted ( $ field ) ; return true ; } if ( mb_strlen ( $ value ) > 60 ) { $ this -> setErrorLengthRange ( $ field , $ this -> translation -> text ( 'Meta title' ) , 0 , 60 ) ; return false ; } return true ; }
Validates a meta title
@return boolean
Validates a meta title