Class: Doctrine_Relation_LocalKey

Source Location: /Doctrine/Relation/LocalKey.php

Class Doctrine_Relation_LocalKey

Class Overview

Doctrine_Relation_LocalKey This class represents a local key relation

Located in /Doctrine/Relation/LocalKey.php [line 34]

Doctrine_Relation
   |
   --Doctrine_Relation_LocalKey
Author(s): Information Tags:
Version:  $Revision: 2195 $
Link:  www.phpdoctrine.com
Since:  1.0
License:  LGPL

Methods

[ Top ]
Inherited Properties, Constants, and Methods
Inherited Properties Inherited Methods Inherited Constants

Inherited From Doctrine_Relation

Doctrine_Relation::$definition

Inherited From Doctrine_Relation

Doctrine_Relation::__construct()
constructor
Doctrine_Relation::fetchRelatedFor()
fetchRelatedFor
Doctrine_Relation::getAlias()
getAlias returns the relation alias
Doctrine_Relation::getForeign()
getForeign returns the name of the foreignkey column where the localkey column is pointing at
Doctrine_Relation::getLocal()
getLocal returns the name of the local column
Doctrine_Relation::getRelationDql()
getRelationDql
Doctrine_Relation::getTable()
getTable returns the foreign table object
Doctrine_Relation::getType()
getType returns the relation type, either 0 or 1
Doctrine_Relation::hasConstraint()
hasConstraint whether or not this relation has an explicit constraint
Doctrine_Relation::isComposite()
isComposite returns whether or not this relation is a composite relation
Doctrine_Relation::isDeferrable()
Doctrine_Relation::isDeferred()
Doctrine_Relation::isEqual()
Doctrine_Relation::isOneToOne()
isOneToOne returns whether or not this relation is a one-to-one relation
Doctrine_Relation::offsetExists()
Doctrine_Relation::offsetGet()
Doctrine_Relation::offsetSet()
Doctrine_Relation::offsetUnset()
Doctrine_Relation::toArray()
toArray
Doctrine_Relation::__toString()
__toString

Inherited From Doctrine_Relation

Doctrine_Relation::MANY
Doctrine_Relation::MANY_AGGREGATE
Doctrine_Relation::MANY_COMPOSITE
Doctrine_Relation::ONE
Doctrine_Relation::ONE_AGGREGATE
Doctrine_Relation::ONE_COMPOSITE

[ Top ]
Method Summary
Doctrine_Record|Doctrine_Collection   fetchRelatedFor()   fetchRelatedFor
void   getCondition()   getCondition

[ Top ]
Properties
Methods
fetchRelatedFor  [line 44]

  Doctrine_Record|Doctrine_Collection fetchRelatedFor( Doctrine_Record $record  )

fetchRelatedFor

fetches a component related to given record

Parameters:
Doctrine_Record   $record: 

API Tags:
Access:  public


Redefinition of:
Doctrine_Relation::fetchRelatedFor()
fetchRelatedFor

[ Top ]
getCondition  [line 74]

  void getCondition( [string $alias = null]  )

getCondition

Parameters:
string   $alias: 

API Tags:
Access:  public


[ Top ]