PHP Класс Contao\Database\Installer

Наследование: extends Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
__construct ( ) Make the constructor public
generateSqlForm ( ) : string Generate a HTML form with queries and return it as string
getFromDb ( ) : array Get the current database structure
getFromDca ( ) : array Get the DCA table settings from the DCA cache
getFromFile ( ) : array Get the DCA table settings from the database.sql files

Защищенные методы

Метод Описание
compileCommands ( ) : array Compile a command array for each database modification

Описание методов

__construct() публичный Метод

Make the constructor public
public __construct ( )

compileCommands() защищенный Метод

Compile a command array for each database modification
protected compileCommands ( ) : array
Результат array An array of commands

generateSqlForm() публичный Метод

Generate a HTML form with queries and return it as string
Устаревший: Deprecated since Contao 4.0, to be removed in Contao 5.0.
public generateSqlForm ( ) : string
Результат string The form HTML markup

getFromDb() публичный Метод

Get the current database structure
public getFromDb ( ) : array
Результат array An array of tables and fields

getFromDca() публичный Метод

Get the DCA table settings from the DCA cache
public getFromDca ( ) : array
Результат array An array of DCA table settings

getFromFile() публичный Метод

Get the DCA table settings from the database.sql files
public getFromFile ( ) : array
Результат array An array of DCA table settings