protected function validateInputDbTypeInstall()
    {
        $drivers = PDO::getAvailableDrivers();
        $title = $this->text('Database type (enter a number)');
        $input = $this->menu(array_combine($drivers, $drivers), 'mysql', $title);

        if (!$this->isValidInput($input, 'database.type', 'install')) {
            $this->errors();
            $this->validateInputDbTypeInstall();
        }
    }
protected function validateInputDbTypeInstall()
    {
        $drivers = PDO::getAvailableDrivers();
        $title = $this->text('Database type (enter a number)');
        $input = $this->menu(array_combine($drivers, $drivers), 'mysql', $title);

        if (!$this->isValidInput($input, 'database.type', 'install')) {
            $this->errors();
            $this->validateInputDbTypeInstall();
        }
    }
protected function validateInputDbTypeInstall ( ) { $ drivers = PDO :: getAvailableDrivers ( ) ; $ title = $ this -> text ( 'Database type (enter a number)' ) ; $ input = $ this -> menu ( array_combine ( $ drivers , $ drivers ) , 'mysql' , $ title ) ; if ( ! $ this -> isValidInput ( $ input , 'database.type' , 'install' ) ) { $ this -> errors ( ) ; $ this -> validateInputDbTypeInstall ( ) ; } }
Validates a database port input
Validates a database port input