|
eZ Publish
[trunk]
|
A factory for schema handlers. More...
Static Public Member Functions | |
| static | generateUpgradeFile ($differences) |
| static | instance ($params=false) |
| Returns a shared instance of the eZDBSchemaInterface class. | |
| static | merge ($schema1, $schema2) |
| Merges 2 db schemas, basically appending 2nd on top of 1st. | |
| static | read ($filename, $returnArray=false) |
| static | readArray ($filename) |
| static | writeUpgradeFile ($differences, $filename) |
A factory for schema handlers.
Definition at line 18 of file ezdbschema.php.
| static eZDbSchema::generateUpgradeFile | ( | $ | differences | ) | [static] |
Definition at line 120 of file ezdbschema.php.
Referenced by writeUpgradeFile().
| static eZDbSchema::instance | ( | $ | params = false | ) | [static] |
Returns a shared instance of the eZDBSchemaInterface class.
| array | eZDBInterface | false | $params | If array, following key is needed:
|
Definition at line 27 of file ezdbschema.php.
Referenced by eZDataType\importDBDataFromDBAFile(), eZStepCreateSites\initializePackage(), and loadDatabaseSchema().
| static eZDbSchema::merge | ( | $ | schema1, |
| $ | schema2 | ||
| ) | [static] |
Merges 2 db schemas, basically appending 2nd on top of 1st.
Definition at line 148 of file ezdbschema.php.
| static eZDbSchema::read | ( | $ | filename, |
| $ | returnArray = false |
||
| ) | [static] |
Definition at line 70 of file ezdbschema.php.
Referenced by eZDataType\importDBDataFromDBAFile(), eZStepCreateSites\initializePackage(), and loadDatabaseSchema().
| static eZDbSchema::readArray | ( | $ | filename | ) | [static] |
Definition at line 110 of file ezdbschema.php.
| static eZDbSchema::writeUpgradeFile | ( | $ | differences, |
| $ | filename | ||
| ) | [static] |
Definition at line 129 of file ezdbschema.php.