Class: Doctrine_Relation_Parser
Source Location: /Doctrine/Relation/Parser.phpClass Doctrine_Relation_Parser
Class Overview
Doctrine_Relation_Parser Located in /Doctrine/Relation/Parser.php [line 32] Author(s):
|
[ Top ]
Property Summary
Method Summary
Doctrine_Relation_Parser | __construct() | constructor |
void | bind() | binds a relation |
array | completeAssocDefinition() | Completes the given association definition |
array | completeDefinition() | Completes the given definition |
void | getIdentifiers() | getIdentifiers gives a list of identifiers from given table |
void | getImpl() | getImpl |
array | getPendingRelation() | getPendingRelation |
void | getRelation() | getRelation |
array | getRelations() | getRelations returns an array containing all relation objects |
Doctrine_Table | getTable() | getTable |
array | guessColumns() | guessColumns |
void | hasRelation() |
[ Top ]
Properties
Methods
Constructor __construct [line 51]
|
constructor
Parameters:Doctrine_Table | $table: | the table object this parser belongs to |
API Tags:
Access: | public |
[ Top ]
bind [line 93]
|
binds a relation
Parameters:string | $name: | |
string | $field: | |
$options: |
API Tags:
Access: | public |
[ Top ]
completeAssocDefinition [line 241]
|
Completes the given association definition
Parameters:array | $def: | definition array to be completed |
API Tags:
Return: | completed definition array |
Access: | public |
[ Top ]
completeDefinition [line 350]
|
Completes the given definition
Parameters:array | $def: | definition array to be completed |
API Tags:
Return: | completed definition array |
Access: | public |
[ Top ]
getIdentifiers [line 292]
|
getIdentifiers gives a list of identifiers from given table
the identifiers are in format: [componentName].[identifier]
Parameters:Doctrine_Table | $table: | table object to retrieve identifiers from |
API Tags:
Access: | public |
[ Top ]
getImpl [line 219]
|
getImpl
returns the table class of the concrete implementation for given template if the given template is not a template then this method just returns the table class for the given record
Parameters:string | $template: |
API Tags:
Access: | public |
[ Top ]
getPendingRelation [line 69]
|
getPendingRelation
Parameters:$name: |
API Tags:
Return: | an array defining a pending relation |
Access: | public |
[ Top ]
getRelation [line 131]
|
getRelation
Parameters:string | $alias: | relation alias |
$recursive: |
API Tags:
Access: | public |
[ Top ]
getRelations [line 203]
|
getRelations returns an array containing all relation objects
API Tags:
Return: | an array of Doctrine_Relation objects |
Access: | public |
[ Top ]
getTable [line 60]
|
getTable
API Tags:
Return: | the table object this parser belongs to |
Access: | public |
[ Top ]
guessColumns [line 314]
|
guessColumns
Parameters:array | $classes: | an array of class names |
Doctrine_Table | $foreignTable: | foreign table object |
API Tags:
Return: | an array of column names |
Access: | public |
[ Top ]