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