Class Relation
Methods summary
public
|
#
__construct( string $srcClassName, string[] $srcKeyValueFieldNames, string $srcMethodName, string $destClassName, integer $destIndex, boolean $optimize, integer $type )
|
public
|
|
public
integer
|
|
public
|
|
public
integer
|
|
public
|
#
resolveRelations(
The relation of the specified collection, and then batch acquisition. |
public
|
|
public
|
|
public
BizStataion\Transactd\Table
|
|
public
boolean
|
#
saveIntermediateItem(
Save the intermediate model of many-to-many, to the database. |
public
boolean
|
#
deleteIntermediateItem(
Delete the intermediate object of many-to-many, from the database. |
public
|
|
public
|
|
public
|
|
public
|
|
public
|
#
addSubRelation( string $className, integer $index, string[] $keyValueFieldNames, integer $type = self::TYPE_BELONGSTO )
Add a sub relationship model for many-to-many. |
public
|
|
public
boolean
|
Constants summary
integer |
TYPE_HAS_ONE
|
#
0
|
integer |
TYPE_HAS_MANY
|
#
1
|
integer |
TYPE_BELONGSTO
|
#
2
|
integer |
TYPE_BELONGSTO_MANY
|
#
3
|
integer |
TYPE_MORPHONE
|
#
4
|
integer |
TYPE_MORPHMANY
|
#
5
|
integer |
TYPE_MORPHTO
|
#
6
|
integer |
TYPE_MORPHEDBYMANY
|
#
7
|