Class: Doctrine_Schema_Table
Source Location: /Doctrine/Schema/Table.phpClass Doctrine_Schema_Table
Class Overview
Implements interfaces:
class Doctrine_Schema_Table Holds information on a database table Located in /Doctrine/Schema/Table.php [line 40] Doctrine_Object | --Doctrine_Access | --Doctrine_Schema_Object | --Doctrine_Schema_TableAuthor(s):
|
[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties | Inherited Methods | Inherited Constants |
---|---|---|
Inherited From Doctrine_Schema_Object Inherited From Doctrine_Object |
Inherited From Doctrine_Schema_Object Inherited From Doctrine_Access
Inherited From Doctrine_Object
|
[ Top ]
Property Summary
mixed | $definition | |
mixed | $relations | Relations this table has with others. An array of Doctrine_Schema_Relation |
[ Top ]
Method Summary
Doctrine_Schema_Column|false | getColumn() | |
array | getColumns() | returns an array of Doctrine_Schema_Column objects |
array | getRelations() | Return all the relations this table has with others |
bool | isValid() | |
void | setRelation() | Adds a relation between a local column and a 2nd table / column |
[ Top ]
Properties
Methods
addColumn [line 85]
|
Doctrine_Schema_Column | $column: | column |
API Tags:
Access: | public |
[ Top ]
getColumn [line 72]
|
$name: |
API Tags:
Access: | public |
[ Top ]
getColumns [line 65]
|
returns an array of Doctrine_Schema_Column objects
API Tags:
Access: | public |
[ Top ]
getRelations [line 107]
|
Return all the relations this table has with others
API Tags:
Return: | Array of Doctrine_Schema_Relation |
Access: | public |
[ Top ]
setRelation [line 99]
|
Adds a relation between a local column and a 2nd table / column
Parameters:Doctrine_Schema_Relation | $relation: | Relation |
API Tags:
Access: | public |
[ Top ]