Static Public Member Functions | |
static | buildTable ($tableName, array $propertyList) |
static | buildRelations (MetaClass $class) |
static | getHead () |
Definition at line 15 of file SchemaBuilder.class.php.
static SchemaBuilder::buildRelations | ( | MetaClass $ | class | ) | [static] |
Definition at line 49 of file SchemaBuilder.class.php.
References ForeignChangeAction::cascade(), DBTable::create(), MetaClass::getAllProperties(), MetaClass::getName(), MetaClass::getParent(), MetaClass::getTableName(), MetaRelation::MANY_TO_MANY, MetaRelation::ONE_TO_MANY, and ForeignChangeAction::restrict().
Referenced by MetaConfiguration::buildSchema().
static SchemaBuilder::buildTable | ( | $ | tableName, | |
array $ | propertyList | |||
) | [static] |
Definition at line 17 of file SchemaBuilder.class.php.
References DBTable::create(), and MetaRelation::ONE_TO_ONE.
Referenced by MetaConfiguration::buildSchema().
static SchemaBuilder::getHead | ( | ) | [static] |
Reimplemented from BaseBuilder.
Definition at line 150 of file SchemaBuilder.class.php.
Referenced by MetaConfiguration::buildSchema().