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) | ||
| getModelName() | ||
| setModelPeerName($modelPeerName) | ||
| getModelPeerName() | ||
| 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 32
public
__construct(ModelJoin $join = null)
at line 45
public
init(ModelJoin $join)
Define the joined hydration schema based on a join object.
Fills the ModelWith properties using a ModelJoin as source