PHP 클래스 Contao\Database\Installer

상속: extends Controller
파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
__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