lib/ezdbschema/classes/ezdbschema.php
File containing the eZDbSchema 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
\eZDbSchema
Package: lib
File containing the eZDbSchema class.
- Copyright
- Copyright (C) 1999-2011 eZ Systems AS. All rights reserved.
- License
- eZ Business Use License Agreement Version 2.0
- Version
- 4.6.0
Methods


instance(
array | \eZDBInterface | false $params
=
false
)
:
\eZDBSchemaInterface | false
static
Returns a shared instance of the eZDBSchemaInterface class.
Parameters
Returns
Name | Type | Description |
---|---|---|
$params | array | \eZDBInterface | false | If array, following key is needed: - instance: the eZDB instance (optional), if none provided, eZDB::instance() will be used. |
Type | Description |
---|---|
\eZDBSchemaInterface | false |


merge(
$schema1, $schema2
)
:
array
static
Merges 2 db schemas, basically appending 2nd on top of 1st
Parameters
Returns
Name | Type | Description |
---|---|---|
$schema1 | ||
$schema2 |
Type | Description |
---|---|
array | the merged schema |


read(
$filename, $returnArray
=
false
)
:
void
static
Parameters
Name | Type | Description |
---|---|---|
$filename | ||
$returnArray |