Méthode |
Description |
|
__construct ( $class, $local, $foreign = null ) |
|
|
add ( $object, $value ) |
|
|
addJoin ( $query, $parentAlias, $schema, $relName, $nested = [], $joinType = 'inner' ) : void |
Adds a join clause to the given query for the given schema and relationship. Optionally
takes a nested list of relationships that will be recursively joined as needed. |
|
get ( $object, $key ) |
|
|
getter ( $key, $cache = null ) |
delegate double dispatch calls to type |
|
normalizeMap ( $array ) : array |
Takes either a flat array of relationships or a nested key=>value array and returns
it as a nested format |
|
parseRelName ( $relName ) : array |
Parses RelName r1 as array('RelName', 'r1') or Relname as array('RelName','RelName') |
|
set ( $object, $key, $value ) |
|
|
setter ( $key ) |
|
|