Zeta Components - high quality PHP components

Zeta Components Manual :: Docs For Class ezcPersistentSingleTableMap

PersistentObject::ezcPersistentSingleTableMap

Class ezcPersistentSingleTableMap

Class to create {ezcPersistentRelation::$columnMap} properties.

Maps a source table and column and to a destination table and column, to establish a relation between the 2 tables.

Source for this file: /PersistentObject/src/structs/single_table_map.php

ezcBaseStruct
   |
   --ezcPersistentSingleTableMap
Version:   //autogen//

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
Documentation generated by phpDocumentor 1.4.3