Trait for DAO relations.
More...
|
static | getAnnotationInfoMember ($class, $keyAnnotation, $member) |
|
static | getAnnotationInfo ($class, $keyAnnotation) |
|
static | getTableName ($class) |
|
static | getFirstKey ($class) |
|
static | getModelMetadata ($className) |
|
static | getKeyFieldsAndValues ($instance) |
|
static | getJoinTables ($class) |
|
static | getAllJoinTables ($models) |
|
static | getFieldsInRelations ($class) |
|
static | getRelationInfos ($class) |
|
static | getFieldsInRelations_ ($class) |
|
static | getFieldsInRelationsForUpdate_ ($class) |
|
static | getAnnotFieldsInRelations ($class) |
|
static | getUJoinSQL ($db, $model, $arrayAnnot, $field, &$aliases, $quote) |
|
static | getOneToManyFields ($class) |
|
static | getRemoveCascadeFields ($class, $keyAnnotation='#oneToMany') |
|
static | getManyToOneFields ($class) |
|
static | getManyToManyFields ($class) |
|
static | getDefaultFk ($classname) |
|
static | getMemberJoinColumns ($instance, $member, $metaDatas=NULL) |
|
static | getManyToOneMembersAndValues ($instance) |
|
static | getJoinColumnName ($class, $member) |
|
static | isManyToMany ($class) |
|
static | getManyToManyFieldsDt ($class, $manyClass) |
|
Trait for DAO relations.
Ubiquity\orm\traits$OrmUtilsRelationsTrait This class is part of Ubiquity
- Author
- jcheron myadd.nosp@m.ress.nosp@m.mail@.nosp@m.gmai.nosp@m.l.com
- Version
- 1.0.8
Definition at line 16 of file OrmUtilsRelationsTrait.php.
◆ getAllJoinTables()
static getAllJoinTables |
( |
|
$models | ) |
|
|
static |
◆ getAnnotationInfo()
static getAnnotationInfo |
( |
|
$class, |
|
|
|
$keyAnnotation |
|
) |
| |
|
staticabstract |
◆ getAnnotationInfoMember()
static getAnnotationInfoMember |
( |
|
$class, |
|
|
|
$keyAnnotation, |
|
|
|
$member |
|
) |
| |
|
staticabstract |
◆ getAnnotFieldsInRelations()
static getAnnotFieldsInRelations |
( |
|
$class | ) |
|
|
static |
◆ getDefaultFk()
static getDefaultFk |
( |
|
$classname | ) |
|
|
static |
◆ getFieldsInRelations()
static getFieldsInRelations |
( |
|
$class | ) |
|
|
static |
◆ getFieldsInRelations_()
static getFieldsInRelations_ |
( |
|
$class | ) |
|
|
static |
◆ getFieldsInRelationsForUpdate_()
static getFieldsInRelationsForUpdate_ |
( |
|
$class | ) |
|
|
static |
◆ getFirstKey()
static getFirstKey |
( |
|
$class | ) |
|
|
staticabstract |
◆ getJoinAlias()
static getJoinAlias |
( |
|
$table, |
|
|
|
$fkTable |
|
) |
| |
|
staticprivate |
◆ getJoinColumnName()
static getJoinColumnName |
( |
|
$class, |
|
|
|
$member |
|
) |
| |
|
static |
◆ getJoinTables()
static getJoinTables |
( |
|
$class | ) |
|
|
static |
◆ getKeyFieldsAndValues()
static getKeyFieldsAndValues |
( |
|
$instance | ) |
|
|
staticabstract |
◆ getManyToManyFields()
static getManyToManyFields |
( |
|
$class | ) |
|
|
static |
◆ getManyToManyFieldsDt()
static getManyToManyFieldsDt |
( |
|
$class, |
|
|
|
$manyClass |
|
) |
| |
|
static |
◆ getManyToOneFields()
static getManyToOneFields |
( |
|
$class | ) |
|
|
static |
◆ getManyToOneMembersAndValues()
static getManyToOneMembersAndValues |
( |
|
$instance | ) |
|
|
static |
◆ getMemberJoinColumns()
static getMemberJoinColumns |
( |
|
$instance, |
|
|
|
$member, |
|
|
|
$metaDatas = NULL |
|
) |
| |
|
static |
◆ getModelMetadata()
static getModelMetadata |
( |
|
$className | ) |
|
|
staticabstract |
◆ getOneToManyFields()
static getOneToManyFields |
( |
|
$class | ) |
|
|
static |
◆ getRelationInfos()
static getRelationInfos |
( |
|
$class | ) |
|
|
static |
◆ getRemoveCascadeFields()
static getRemoveCascadeFields |
( |
|
$class, |
|
|
|
$keyAnnotation = '#oneToMany' |
|
) |
| |
|
static |
◆ getTableName()
static getTableName |
( |
|
$class | ) |
|
|
staticabstract |
◆ getUJoinSQL()
static getUJoinSQL |
( |
|
$db, |
|
|
|
$model, |
|
|
|
$arrayAnnot, |
|
|
|
$field, |
|
|
& |
$aliases, |
|
|
|
$quote |
|
) |
| |
|
static |
◆ isManyToMany()
static isManyToMany |
( |
|
$class | ) |
|
|
static |
The documentation for this class was generated from the following file: