Ubiquity 2.5.2
php rapid development framework
|
Used by DAO class, prepare relations for loading. More...
Static Protected Member Functions | |
static | prepareManyToMany ($db, &$ret, $instance, $member, $annot=null) |
Prepares members associated with $instance with a ManyToMany type relationship. | |
static | prepareOneToMany (&$ret, $instance, $member, $annot=null) |
Prepares members associated with $instance with a oneToMany type relationship. | |
static | prepareManyToOne (&$ret, $instance, $value, $fkField, $annotationArray) |
Prepares members associated with $instance with a manyToOne type relationship. | |
Used by DAO class, prepare relations for loading.
Ubiquity\orm\traits$DAORelationsPrepareTrait This class is part of Ubiquity
Definition at line 19 of file DAORelationsPrepareTrait.php.
|
staticprotected |
Prepares members associated with $instance with a ManyToMany type relationship.
$db | ||
$ret | array of sql conditions | |
object | $instance | |
string | $member | Member on which a ManyToMany annotation must be present |
array | $annot | used internally |
Definition at line 30 of file DAORelationsPrepareTrait.php.
|
staticprotected |
Prepares members associated with $instance with a manyToOne type relationship.
$ret | array of sql conditions | |
object | $instance | |
mixed | $value | |
string | $fkField | |
array | $annotationArray |
Definition at line 91 of file DAORelationsPrepareTrait.php.
|
staticprotected |
Prepares members associated with $instance with a oneToMany type relationship.
$ret | array of sql conditions | |
object | $instance | |
string | $member | Member on which a OneToMany annotation must be present |
array | $annot | used internally |
Definition at line 59 of file DAORelationsPrepareTrait.php.