creole.metadata
[ class tree: creole.metadata ] [ index: creole.metadata ] [ all elements ]

Class: PrimaryKeyInfo

Source Location: /creole/metadata/PrimaryKeyInfo.php

Class Overview


Represents a PrimaryKey


Author(s):

Version:

  • $Revision: 1.5 $

Methods



Class Details

[line 29]
Represents a PrimaryKey



Tags:

version:  $Revision: 1.5 $
author:  Hans Lellelid <hans@xmpl.org>


[ Top ]


Class Methods


constructor __construct [line 40]

PrimaryKeyInfo __construct( string $name)



Parameters:

string   $name   The name of the foreign key.

[ Top ]

method addColumn [line 58]

void addColumn( Column $column)



Tags:

access:  public


Parameters:

Column   $column  

[ Top ]

method getColumns [line 66]

array getColumns( )



Tags:

return:  Column[]
access:  public


[ Top ]

method getName [line 49]

string getName( )

Get foreign key name.



Tags:

access:  public


[ Top ]

method toString [line 74]

string toString( )



Tags:

access:  public


[ Top ]


Documentation generated on Mon, 23 Aug 2004 21:52:50 -0400 by phpDocumentor 1.3.0RC3