Path

ez components / documentation / api reference / latest / persistentobject


eZ Components latest

PersistentObject: ezcPersistentSingleTableMap

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

Class: ezcPersistentSingleTableMap

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
   |
   --ezcPersistentSingleTableMap

Member Variables

public string $destinationColumn
Column of the second table, which should be mapped to the first column.
public string $sourceColumn
Column of the first table used for mapping.

Method Summary

public ezcPersistentSingleTableMap __construct( $sourceColumn, $destinationColumn )
Create a new ezcPersistentSingleTableMap.

Methods

__construct

ezcPersistentSingleTableMap __construct( string $sourceColumn, string $destinationColumn )
Create a new ezcPersistentSingleTableMap.

Parameters

Name Type Description
$sourceColumn string $sourceColumn
$destinationColumn string $destinationColumn

Last updated: Mon, 21 Dec 2009