Static Public Member Functions | |
static | getAnyId () |
must return any existent ID 1 should be ok for most enumerations | |
Public Attributes | |
const | ONE_TO_ONE = 'OneToOne' |
const | ONE_TO_MANY = 'OneToMany' |
const | MANY_TO_MANY = 'ManyToMany' |
Protected Attributes | |
$names |
Definition at line 16 of file MetaRelation.class.php.
static MetaRelation::getAnyId | ( | ) | [static] |
must return any existent ID 1 should be ok for most enumerations
Reimplemented from Enumeration.
Definition at line 28 of file MetaRelation.class.php.
const MetaRelation::ONE_TO_ONE = 'OneToOne' |
Definition at line 18 of file MetaRelation.class.php.
Referenced by MetaConfiguration::buildContainers(), BaseBuilder::buildFillers(), SchemaBuilder::buildTable(), AbstractProtoClass::getMapping(), Criteria::joinProperties(), MetaConfiguration::load(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), and MetaClassProperty::toPrimitive().
const MetaRelation::ONE_TO_MANY = 'OneToMany' |
Definition at line 19 of file MetaRelation.class.php.
Referenced by DTOClassBuilder::build(), SchemaBuilder::buildRelations(), ProtoDAO::fetchCollections(), ProtoDAO::processPath(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), ObjectType::toDropper(), and ObjectType::toSetter().
const MetaRelation::MANY_TO_MANY = 'ManyToMany' |
Definition at line 20 of file MetaRelation.class.php.
Referenced by SchemaBuilder::buildRelations(), ProtoDAO::fetchCollections(), MetaClassProperty::getRelationColumnName(), ProtoDAO::processPath(), MetaClassProperty::toDaoField(), MetaClassProperty::toDaoSetter(), ObjectType::toDropper(), and ObjectType::toSetter().
MetaRelation::$names [protected] |
Initial value:
array( self::ONE_TO_ONE => 'OneToOne', self::ONE_TO_MANY => 'OneToMany', self::MANY_TO_MANY => 'ManyToMany' )
Reimplemented from Enumeration.
Definition at line 22 of file MetaRelation.class.php.