Path

ez components / documentation / api reference / latest / persistentobject


eZ Components latest

PersistentObject: ezcPersistentDoubleTableMap

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

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.

Methods

__construct

ezcPersistentDoubleTableMap __construct( string $sourceColumn, string $relationSourceColumn, string $relationDestinationColumn, string $destinationColumn )
Create a new ezcPersistentDoubleTableMap.

Parameters

Name Type Description
$sourceColumn string $sourceColumn
$relationSourceColumn string $relationSourceColumn
$relationDestinationColumn string $relationDestinationColumn
$destinationColumn string $destinationColumn

Last updated: Mon, 21 Dec 2009