class ModelWith
Data object to describe a joined hydration in a Model Query ModelWith objects are used by formatters to hydrate related objects
Methods
__construct(ModelJoin $join = null) | ||
init(ModelJoin $join)
Define the joined hydration schema based on a join object. |
||
setModelName($modelName) | ||
getTableMap() | ||
getModelName() | ||
setIsSingleTableInheritance($isSingleTableInheritance) | ||
isSingleTableInheritance() | ||
setIsAdd($isAdd) | ||
isAdd() | ||
setIsWithOneToMany($isWithOneToMany) | ||
isWithOneToMany() | ||
setRelationName($relationName) | ||
getRelationName() | ||
setRelationMethod($relationMethod) | ||
getRelationMethod() | ||
setInitMethod($initMethod) | ||
getInitMethod() | ||
setResetPartialMethod($resetPartialMethod) | ||
getResetPartialMethod() | ||
setLeftPhpName($leftPhpName) | ||
getLeftPhpName() | ||
setRightPhpName($rightPhpName) | ||
getRightPhpName() | ||
isPrimary() | ||
__toString() |
Details
at line 45
public
__construct(ModelJoin $join = null)
at line 58
public
init(ModelJoin $join)
Define the joined hydration schema based on a join object.
Fills the ModelWith properties using a ModelJoin as source