lib/ezdbschema/classes/ezlintschema.php
File containing the eZLintSchema 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
\eZLintSchema
Package: lib
File containing the eZLintSchema class.
- Parent(s)
- \eZDBSchemaInterface
- 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


$DBInstance= ''
inheritedInherited from:
\eZDBSchemaInterface::$$DBInstance
Details
- Type
- n/a
- Inherited_from
- \eZDBSchemaInterface::$$DBInstance


$Data= ''
inheritedInherited from:
\eZDBSchemaInterface::$$Data
Details
- Type
- n/a
- Inherited_from
- \eZDBSchemaInterface::$$Data


$Schema= ''
inheritedInherited from:
\eZDBSchemaInterface::$$Schema
Details
- Type
- n/a
- Inherited_from
- \eZDBSchemaInterface::$$Schema
Methods


appendSQLComments(
$def, $sql
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::appendSQLComments()
Parameters
Name | Type | Description |
---|---|---|
$def | ||
$sql |


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


eZDBSchemaInterface(
$params
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::eZDBSchemaInterface()
Parameters
Name | Type | Description |
---|---|---|
$params |


escapeSQLString(
$value
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::escapeSQLString()
Parameters
Name | Type | Description |
---|---|---|
$value |


fetchTableData(
$tableInfo, $offset
=
false, $limit
=
false
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::fetchTableData()
Parameters
Name | Type | Description |
---|---|---|
$tableInfo | ||
$offset | ||
$limit |


generateAddFieldSql(
$table, $field_name, $added_field, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table | ||
$field_name | ||
$added_field | ||
$params |


generateAddIndexSql(
$table, $index_name, $added_index, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table | ||
$index_name | ||
$added_index | ||
$params |


generateAlterFieldSql(
$table, $field_name, $changed_field, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table | ||
$field_name | ||
$changed_field | ||
$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, $field_name, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table | ||
$field_name | ||
$params |


generateDropIndexSql(
$table, $index_name, $removed_index, $params
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$table | ||
$index_name | ||
$removed_index | ||
$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
inherited
Inherited from:
\eZDBSchemaInterface::generateTableInsertSQLList()
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$tableDef | ||
$dataEntries | ||
$params | ||
$withClosure |


generateTableSQLList(
$tableName, $table, $params, $separateTypes
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::generateTableSQLList()
Parameters
Name | Type | Description |
---|---|---|
$tableName | ||
$table | ||
$params | ||
$separateTypes |


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


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


insertSchema(
$params
=
array()
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::insertSchema()
Parameters
Name | Type | Description |
---|---|---|
$params |


loadSchemaTransformationRules(
$schemaType
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::loadSchemaTransformationRules()
Parameters
Name | Type | Description |
---|---|---|
$schemaType |


shortenIdentifier(
$identifier, $limit, $shortenList
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$identifier | ||
$limit | ||
$shortenList |


transformData(
$data, $toLocal
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::transformData()
Parameters
Name | Type | Description |
---|---|---|
$data | ||
$toLocal |


transformSchema(
$schema, $toLocal
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::transformSchema()
Parameters
Name | Type | Description |
---|---|---|
$schema | ||
$toLocal |


writeArraySchemaFile(
$filename, $params
=
array()
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::writeArraySchemaFile()
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |


writeSQLSchemaFile(
$filename, $params
=
array()
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::writeSQLSchemaFile()
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |


writeSerializedSchemaFile(
$filename, $params
=
array()
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::writeSerializedSchemaFile()
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$params |


writeUpgradeFile(
$differences, $filename, $params
=
array()
)
:
void
inherited
Inherited from:
\eZDBSchemaInterface::writeUpgradeFile()
Parameters
Name | Type | Description |
---|---|---|
$differences | ||
$filename | ||
$params |