ForeignKeyInfo Class Reference

List of all members.

Public Member Functions

Public Attributes


Constructor & Destructor Documentation

ForeignKeyInfo::ForeignKeyInfo ( $  name)

 

Parameters:
string $name The name of the foreign key.


Member Function Documentation

ForeignKeyInfo::getName ()

 

Get foreign key name.

Returns string

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

 

Adds a foreign-local mapping.

Parameters:
ColumnInfo $local
ColumnInfo $foreign

& ForeignKeyInfo::getReferences ()

 

Gets the local-foreign column mapping.

Returns array array( [0] => array([0] => local ColumnInfo object, [1] => foreign ColumnInfo object) )

ForeignKeyInfo::toString ()

 

Returns string


Member Data Documentation

ForeignKeyInfo::$name

 

ForeignKeyInfo::$references = array()

 


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


Copyright © 2004 Hans Lellelid  
Creole[php4] CVS