protected function validateTitleFile()
    {
        $field = 'title';
        $value = $this->getSubmitted($field);

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

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

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

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