PersistentObject: ezcPersistentManyToManyRelation
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentManyToManyRelation
|
Relation class to reflect a many-to-many table relation (m:n). [
source]
Parents
ezcPersistentRelation
|
--ezcPersistentManyToManyRelation
Method Summary
|
public ezcPersistentManyToManyRelation |
__construct(
$sourceTable, $destinationTable, $relationTable )
|
|
protected void |
validateColumnMap(
$columnMap )
Validates an {@see ezcPersistentRelation::$columnMap} property. |
Inherited Methods
From
ezcPersistentRelation :
Methods
__construct
ezcPersistentManyToManyRelation __construct(
$sourceTable,
$destinationTable,
$relationTable )
Parameters
| Name |
Type |
Description |
$sourceTable |
|
|
$destinationTable |
|
|
$relationTable |
|
|
Redefinition of
validateColumnMap
void validateColumnMap(
$columnMap )
Validates an {@see ezcPersistentRelation::$columnMap} property.
Checks is the given array represents a valid $columnMap property. Column maps for this kind of relation may only contain instances of {@see ezcPersistentDoubleTableMap} and have to at least contain 1 instance.
Parameters
| Name |
Type |
Description |
$columnMap |
array |
The column map to check. |
Throws
| Class | Description |
ezcBaseValueException |
On an invalid column map. |
Redefinition of
Last updated: Thu, 01 Nov 2007