|
Doctrine 1.2.4
|
Inherits Doctrine_Relation_Association.
Public Member Functions | |
| __toString () | |
| getAlias () | |
| getAssociationFactory () | |
| getClass () | |
| getForeign () | |
| getForeignColumnName () | |
| getForeignFieldName () | |
| getForeignKeyName () | |
| getForeignRefColumnName () | |
| getForeignRefFieldName () | |
| getLocal () | |
| getLocalColumnName () | |
| getLocalFieldName () | |
| getLocalRefColumnName () | |
| getLocalRefFieldName () | |
| getOrderBy ($alias=null, $columnNames=false) | |
| getOrderByStatement ($alias=null, $columnNames=false) | |
| getRelationDql ($count, $context= 'record') | |
| getRelationDql ($count) | |
| getTable () | |
| getType () | |
| hasConstraint () | |
| isCascadeDelete () | |
| isOneToOne () | |
| toArray () | |
Data Fields | |
| const | MANY = 1 |
| const | ONE = 0 |
|
inherited |
__toString
Definition at line 444 of file Relation.php.
|
finalinherited |
getAlias returns the relation alias
Definition at line 214 of file Relation.php.
|
inherited |
Definition at line 41 of file Association.php.
|
finalinherited |
getClass returns the name of the related class
Definition at line 261 of file Relation.php.
|
finalinherited |
getForeign returns the name of the foreignkey column where the localkey column is pointing at
Definition at line 304 of file Relation.php.
|
finalinherited |
getForeignColumnName returns the column name of the foreign column
Definition at line 324 of file Relation.php.
|
finalinherited |
getLocalFieldName returns the field name of the foreign column
Definition at line 313 of file Relation.php.
|
inherited |
Get the name of the foreign key for this relationship
Definition at line 373 of file Relation.php.
|
finalinherited |
getForeignRefColumnName returns the column name of the foreign reference column
Definition at line 104 of file Association.php.
|
finalinherited |
getForeignRefFieldName returns the field name of the foreign reference column
Definition at line 113 of file Association.php.
|
finalinherited |
getLocal returns the name of the local column
Definition at line 272 of file Relation.php.
|
finalinherited |
getLocalColumnName returns the column name of the local column
Definition at line 292 of file Relation.php.
|
finalinherited |
getLocalFieldName returns the field name of the local column
Definition at line 281 of file Relation.php.
|
finalinherited |
getLocalRefColumnName returns the column name of the local reference column
Definition at line 86 of file Association.php.
|
finalinherited |
getLocalRefFieldName returns the field name of the local reference column
Definition at line 95 of file Association.php.
|
inherited |
Get the relationship orderby SQL/DQL
| string | $alias | The alias to use |
| boolean | $columnNames | Whether or not to use column names instead of field names |
Definition at line 388 of file Relation.php.
|
inherited |
Get the relationship orderby statement
| string | $alias | The alias to use |
| boolean | $columnNames | Whether or not to use column names instead of field names |
Definition at line 406 of file Relation.php.
| Doctrine_Relation_Association_Self::getRelationDql | ( | $count, | |
$context = 'record' |
|||
| ) |
getRelationDql
| integer | $count |
Definition at line 41 of file Self.php.
|
inherited |
getRelationDql
| integer | $count |
Definition at line 346 of file Relation.php.
|
finalinherited |
getTable returns the foreign table object
Definition at line 248 of file Relation.php.
|
finalinherited |
getType returns the relation type, either 0 or 1
Definition at line 226 of file Relation.php.
|
inherited |
hasConstraint whether or not this relation has an explicit constraint
Definition at line 150 of file Relation.php.
|
inherited |
Checks whether this relation cascades deletions to the related objects on the application level.
Definition at line 237 of file Relation.php.
|
finalinherited |
isOneToOne returns whether or not this relation is a one-to-one relation
Definition at line 335 of file Relation.php.
|
inherited |
|
inherited |
constant for MANY_TO_MANY and ONE_TO_MANY relationships
Definition at line 48 of file Relation.php.
|
inherited |
RELATION CONSTANTS constant for ONE_TO_ONE and MANY_TO_ONE relationships
Definition at line 43 of file Relation.php.