Class ManyToOne
This is the child side of the standard foreign key system
-
Alchemy\core\Element
implements
Alchemy\core\IElement
-
Alchemy\orm\Relationship
-
Alchemy\orm\ManyToOne
Methods summary
public
array
|
#
getRemoteColumnMap( mixed $origin )
Return a map of remote column names and their values according to this
relationship, relative to $origin, for querying. Applies whether $origin is a
table reference or a DataMapper. Must be implemented by all Relationship
types.
Return a map of remote column names and their values according to this
relationship, relative to $origin, for querying. Applies whether $origin is a
table reference or a DataMapper. Must be implemented by all Relationship
types.
Parameters
Returns
array [Column => Value, ...]
Overrides
|
public
|
#
set( mixed $origin, mixed $parent )
|
Methods inherited from Alchemy\orm\Relationship
__construct(),
assertDestinationType(),
createBackref(),
findForeignKey(),
findForeignKeyImpl(),
getBackref(),
getDestinationClass(),
getForeignKey(),
getInverse(),
getName(),
getOriginClass(),
getRef(),
isNullable(),
isParent(),
isSingleObject()
|
Methods inherited from Alchemy\core\Element
__callStatic(),
__clone(),
addTag(),
addTags(),
copy(),
define(),
define_alias(),
getDescription(),
getID(),
getTag(),
getType(),
get_definition(),
listTags(),
normalize_arg()
|