eZ Publish Community Project (Legacy Stack) 2013.4
Class

eZLintSchema

class eZLintSchema extends eZDBSchemaInterface

Properties

$DBInstance
$Schema
$Data
$OtherSchema
$CorrectSchema
$IsLintChecked

Methods

eZDBSchemaInterface($params)

from eZDBSchemaInterface
schema($params = array())

data($schema = false, $tableNameList = false, $params = array())

validate()

fetchTableData($tableInfo, $offset = false, $limit = false)

from eZDBSchemaInterface
writeUpgradeFile($differences, $filename, $params = array())

from eZDBSchemaInterface
writeSQLSchemaFile($filename, $params = array())

from eZDBSchemaInterface
writeSerializedSchemaFile($filename, $params = array())

from eZDBSchemaInterface
writeArraySchemaFile($filename, $params = array())

from eZDBSchemaInterface
insertSchema($params = array())

from eZDBSchemaInterface
generateDataFile($schema, $data, $params)

generateSchemaFile($schema, $params = array())

generateUpgradeFile($differences, $params = array())

generateTableSQLList($tableName, $table, $params, $separateTypes)

from eZDBSchemaInterface
generateTableSchema($table, $tableDef, $params)

generateTableInsert($tableName, $tableDef, $dataEntries, $params)

generateTableInsertSQLList($tableName, $tableDef, $dataEntries, $params, $withClosure = true)

from eZDBSchemaInterface
generateDataValueTextSQL($fieldDef, $value)

escapeSQLString($value)

from eZDBSchemaInterface
generateAlterFieldSql($table, $field_name, $changed_field, $params)

generateAddFieldSql($table, $field_name, $added_field, $params)

generateDropFieldSql($table, $field_name, $params)

appendSQLComments($def, $sql)

from eZDBSchemaInterface
isMultiInsertSupported()

schemaType()

schemaName()

loadSchemaTransformationRules($schemaType)

from eZDBSchemaInterface
transformSchema($schema, $toLocal)

from eZDBSchemaInterface
transformData($data, $toLocal)

from eZDBSchemaInterface
eZLintSchema($db, $otherSchema)

otherSchema()

isLintChecked()

shortenIdentifier($identifier, $limit, $shortenList)

lintCheckSchema($schema)

generateDropTable($table, $params)

generateAddIndexSql($table, $index_name, $added_index, $params)

generateDropIndexSql($table, $index_name, $removed_index, $params)

Details

in eZDBSchemaInterface at line 68
public eZDBSchemaInterface($params)

Parameters

$params

at line 60
public schema($params = array())

Parameters

$params

at line 397
public data($schema = false, $tableNameList = false, $params = array())

Parameters

$schema
$tableNameList
$params

at line 80
public validate()

in eZDBSchemaInterface at line 179
public fetchTableData($tableInfo, $offset = false, $limit = false)

Parameters

$tableInfo
$offset
$limit

in eZDBSchemaInterface at line 217
public writeUpgradeFile($differences, $filename, $params = array())

Parameters

$differences
$filename
$params

in eZDBSchemaInterface at line 243
public writeSQLSchemaFile($filename, $params = array())

Parameters

$filename
$params

in eZDBSchemaInterface at line 283
public writeSerializedSchemaFile($filename, $params = array())

Parameters

$filename
$params

in eZDBSchemaInterface at line 323
public writeArraySchemaFile($filename, $params = array())

Parameters

$filename
$params

in eZDBSchemaInterface at line 380
public insertSchema($params = array())

Parameters

$params

at line 421
public generateDataFile($schema, $data, $params)

Parameters

$schema
$data
$params

at line 405
public generateSchemaFile($schema, $params = array())

Parameters

$schema
$params

at line 413
public generateUpgradeFile($differences, $params = array())

Parameters

$differences
$params

in eZDBSchemaInterface at line 635
public generateTableSQLList($tableName, $table, $params, $separateTypes)

Parameters

$tableName
$table
$params
$separateTypes

at line 429
public generateTableSchema($table, $tableDef, $params)

Parameters

$table
$tableDef
$params

at line 437
public generateTableInsert($tableName, $tableDef, $dataEntries, $params)

Parameters

$tableName
$tableDef
$dataEntries
$params

in eZDBSchemaInterface at line 669
public generateTableInsertSQLList($tableName, $tableDef, $dataEntries, $params, $withClosure = true)

Parameters

$tableName
$tableDef
$dataEntries
$params
$withClosure

at line 501
public generateDataValueTextSQL($fieldDef, $value)

Parameters

$fieldDef
$value

in eZDBSchemaInterface at line 823
public escapeSQLString($value)

Parameters

$value

at line 461
public generateAlterFieldSql($table, $field_name, $changed_field, $params)

Parameters

$table
$field_name
$changed_field
$params

at line 453
public generateAddFieldSql($table, $field_name, $added_field, $params)

Parameters

$table
$field_name
$added_field
$params

at line 469
public generateDropFieldSql($table, $field_name, $params)

Parameters

$table
$field_name
$params

in eZDBSchemaInterface at line 858
public appendSQLComments($def, $sql)

Parameters

$def
$sql

at line 493
public isMultiInsertSupported()

at line 509
public schemaType()

at line 517
public schemaName()

in eZDBSchemaInterface at line 914
public loadSchemaTransformationRules($schemaType)

Parameters

$schemaType

in eZDBSchemaInterface at line 1046
public transformSchema($schema, $toLocal)

Parameters

$schema
$toLocal

in eZDBSchemaInterface at line 1317
public transformData($data, $toLocal)

Parameters

$data
$toLocal

at line 48
public eZLintSchema($db, $otherSchema)

Parameters

$db
$otherSchema

at line 88
public otherSchema()

at line 96
public isLintChecked()

at line 104
public shortenIdentifier($identifier, $limit, $shortenList)

Parameters

$identifier
$limit
$shortenList

at line 131
public lintCheckSchema($schema)

Parameters

$schema

at line 445
public generateDropTable($table, $params)

Parameters

$table
$params

at line 477
public generateAddIndexSql($table, $index_name, $added_index, $params)

Parameters

$table
$index_name
$added_index
$params

at line 485
public generateDropIndexSql($table, $index_name, $removed_index, $params)

Parameters

$table
$index_name
$removed_index
$params