Propel API
Class

ModelWith

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)

Parameters

ModelJoin $join

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

Parameters

ModelJoin $join

at line 71
public setModelName($modelName)

Parameters

$modelName

at line 76
public getModelName()

at line 81
public setModelPeerName($modelPeerName)

Parameters

$modelPeerName

at line 86
public getModelPeerName()

at line 91
public setIsSingleTableInheritance($isSingleTableInheritance)

Parameters

$isSingleTableInheritance

at line 96
public isSingleTableInheritance()

at line 101
public setIsAdd($isAdd)

Parameters

$isAdd

at line 106
public isAdd()

at line 111
public setIsWithOneToMany($isWithOneToMany)

Parameters

$isWithOneToMany

at line 116
public isWithOneToMany()

at line 121
public setRelationName($relationName)

Parameters

$relationName

at line 126
public getRelationName()

at line 131
public setRelationMethod($relationMethod)

Parameters

$relationMethod

at line 136
public getRelationMethod()

at line 141
public setInitMethod($initMethod)

Parameters

$initMethod

at line 146
public getInitMethod()

at line 151
public setResetPartialMethod($resetPartialMethod)

Parameters

$resetPartialMethod

at line 156
public getResetPartialMethod()

at line 161
public setLeftPhpName($leftPhpName)

Parameters

$leftPhpName

at line 166
public getLeftPhpName()

at line 171
public setRightPhpName($rightPhpName)

Parameters

$rightPhpName

at line 176
public getRightPhpName()

at line 183
public isPrimary()

at line 188
public __toString()