protected function validateDbNameInstall()
    {
        $field = 'database.name';

        if ($this->isExcluded($field)) {
            return null;
        }

        $value = $this->getSubmitted($field);

        if (empty($value)) {
            $this->setErrorRequired($field, $this->translation->text('Database name'));
            return false;
        }

        return true;
    }
protected function validateDbNameInstall()
    {
        $field = 'database.name';

        if ($this->isExcluded($field)) {
            return null;
        }

        $value = $this->getSubmitted($field);

        if (empty($value)) {
            $this->setErrorRequired($field, $this->translation->text('Database name'));
            return false;
        }

        return true;
    }
protected function validateDbNameInstall ( ) { $ field = 'database.name' ; if ( $ this -> isExcluded ( $ field ) ) { return null ; } $ value = $ this -> getSubmitted ( $ field ) ; if ( empty ( $ value ) ) { $ this -> setErrorRequired ( $ field , $ this -> translation -> text ( 'Database name' ) ) ; return false ; } return true ; }
Validates a database name
@return boolean
Validates a database name