ForeignKeyInfo Class Reference

List of all members.

Public Member Functions


Member Function Documentation

ForeignKeyInfo::__construct ( $name )

 

Parameters
string $name The name of the foreign key.

string ForeignKeyInfo::getName ( )

 

Get foreign key name.
Returns string

ForeignKeyInfo::addReference ( ColumnInfo $local, ColumnInfo $foreign )

 

Adds a foreign-local mapping.
Parameters
ColumnInfo $local
ColumnInfo $foreign

array ForeignKeyInfo::getReferences ( )

 

Gets the local-foreign column mapping.
Returns array array( [0] => array([0] => local ColumnInfo object, [1] => foreign ColumnInfo object) )

string ForeignKeyInfo::toString ( )

 

Returns string


This file is part of the Creole[php5] library.


Copyright © 2004 Hans Lellelid  
Creole[php5] CVS