Installer_Task_Schema¶
- class Installer_Task_Schema¶
Package: Install
Load the database schema for an Omeka installation.
Schema should be defined in an SQL file.
- property _defaultTables¶
- property _tables¶
- addTable(string $tableName, string $sqlFilePath)¶
Add an SQL table to the list of tables to create.
Parameters: - $tableName (string) –
- $sqlFilePath (string) –
- addTables(array $tables)¶
Add a set of SQL tables to the list.
Parameters: - $tables (array) –
- setTables(array $tables)¶
Set the list of SQL tables.
Parameters: - $tables (array) –
- removeTable(string $tableName)¶
Remove an SQL table from the list.
Parameters: - $tableName (string) –
- getTables()¶
Retrieve list of tables being installed.
- useDefaultTables()¶
Add all tables corresponding to the default Omeka installation.