PersistentObject: ezcPersistentDoubleTableMap
[ ]
[ ]
[ ]
[ ]
[ ]
Class: ezcPersistentDoubleTableMap
|
Class to create {ezcPersistentRelation::$columnMap} properties. [
source]
Maps a source table and column and to a destination table and column, to establish a relation between the 2 tables.
Parents
ezcBaseStruct
|
--ezcPersistentDoubleTableMap
Member Variables
|
public string |
$destinationColumn
Column of the second table, which should be mapped to the first column. |
|
public string |
$relationDestinationColumn
Name of the column in the relation table, that maps to the destination table column. |
|
public string |
$relationSourceColumn
Name of the column in the relation table, that maps to the source table column. |
|
public string |
$sourceColumn
Column of the first table used for mapping. |
Method Summary
|
public ezcPersistentDoubleTableMap |
__construct(
$sourceColumn, $relationSourceColumn, $relationDestinationColumn, $destinationColumn )
Create a new ezcPersistentDoubleTableMap. |
|
public static void |
__set_state(
$state )
|
Methods
__construct
ezcPersistentDoubleTableMap __construct(
string
$sourceColumn, string
$relationSourceColumn, string
$relationDestinationColumn, string
$destinationColumn )
Create a new ezcPersistentDoubleTableMap.
Parameters
| Name |
Type |
Description |
$sourceColumn |
string |
{@see $sourceColumn} |
$relationSourceColumn |
string |
{@see $relationSourceColumn} |
$relationDestinationColumn |
string |
{@see $relationDestinationColumn} |
$destinationColumn |
string |
{@see $destinationColumn} |
__set_state
void __set_state(
$state )
Parameters
| Name |
Type |
Description |
$state |
array |
|
Last updated: Thu, 01 Nov 2007