lib/ezdbschema/classes/ezdbschema.php
\eZDbSchema
Package:
Methods

instance(
\$params $params
=
false
)
:
\eZDBSchemaInterface | false
static
Returns a shared instance of the eZDBSchemaInterface class.
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $params | \$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 |