|
eZ Publish
[4.2]
|
Checks differences between schemas. More...
Static Public Member Functions | |
| static | diff ($schema1, $schema2=array(), $schema1Type=false, $schema2Type=false) |
| static | diffField ($field1, $field2, $schema1Type, $schema2Type) |
| static | diffIndex ($index1, $index2, $schema1Type, $schema2Type) |
| static | diffTable ($table1, $table2, $schema1Type, $schema2Type) |
Checks differences between schemas.
Definition at line 36 of file ezdbschemachecker.php.
| static eZDbSchemaChecker::diff | ( | $ | schema1, |
| $ | schema2 = array(), |
||
| $ | schema1Type = false, |
||
| $ | schema2Type = false |
||
| ) | [static] |
Finds the difference between the scemas $schema1 and $schema2.
Definition at line 52 of file ezdbschemachecker.php.
| static eZDbSchemaChecker::diffField | ( | $ | field1, |
| $ | field2, | ||
| $ | schema1Type, | ||
| $ | schema2Type | ||
| ) | [static] |
Finds the difference between the field $field1 and $field2.
false if there are no changes. Definition at line 199 of file ezdbschemachecker.php.
Referenced by diffTable().
| static eZDbSchemaChecker::diffIndex | ( | $ | index1, |
| $ | index2, | ||
| $ | schema1Type, | ||
| $ | schema2Type | ||
| ) | [static] |
Finds the difference between the indexes $index1 and $index2.
false if there are no changes. Definition at line 242 of file ezdbschemachecker.php.
Referenced by diffTable().
| static eZDbSchemaChecker::diffTable | ( | $ | table1, |
| $ | table2, | ||
| $ | schema1Type, | ||
| $ | schema2Type | ||
| ) | [static] |
Finds the difference between the tables $table1 and $table2 by looking at the fields and indexes.
Definition at line 114 of file ezdbschemachecker.php.
Referenced by diff().