lib/ezdbschema/classes/ezdbschemainterface.php
File containing the eZDBSchemaInterface class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Package
- lib
- Version
- 4.6.0
\eZDBSchemaInterface
Package: lib
File containing the eZDBSchemaInterface class.
- Children
- \eZMysqlSchema
- \eZLintSchema
- \eZPgsqlSchema
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Properties
Methods


data(
$schema
=
false, $tableNameList
=
false, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$schema | ||
$tableNameList | ||
$params |


fetchTableData(
$tableInfo, $offset
=
false, $limit
=
false
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tableInfo | ||
$offset | ||
$limit |


generateAddFieldSql(
$table_name, $field_name, $def, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table_name | ||
$field_name | ||
$def | ||
$params |


generateAlterFieldSql(
$table_name, $field_name, $def, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table_name | ||
$field_name | ||
$def | ||
$params |


generateDataFile(
$schema, $data, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$schema | ||
$data | ||
$params |


generateDataValueTextSQL(
$fieldDef, $value
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$fieldDef | ||
$value |


generateDropFieldSql(
$table_name, $field_name, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table_name | ||
$field_name | ||
$params |


generateSchemaFile(
$schema, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$schema | ||
$params |


generateTableInsert(
$tableName, $tableDef, $dataEntries, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$tableDef | ||
$dataEntries | ||
$params |


generateTableInsertSQLList(
$tableName, $tableDef, $dataEntries, $params, $withClosure
=
true
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$tableDef | ||
$dataEntries | ||
$params | ||
$withClosure |


generateTableSQLList(
$tableName, $table, $params, $separateTypes
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$table | ||
$params | ||
$separateTypes |


generateTableSchema(
$tableName, $table, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$table | ||
$params |


generateUpgradeFile(
$differences, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$differences | ||
$params |


writeArraySchemaFile(
$filename, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |


writeSQLSchemaFile(
$filename, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |


writeSerializedSchemaFile(
$filename, $params
=
array()
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |