Development Doctrine_Association
Doctrine Association
Base class for association mappings.
Direct Sub-Classes
- Doctrine_Association_ManyToMany: A many-to-many mapping describes the mapping between two collections of entities.
Method Summary
| Returns | Name | Description |
|---|---|---|
| getMappedByFieldName | ||
| getSourceEntityName | ||
| getSourceFieldName | ||
| getTargetEntityName | ||
| isCascadeDelete | ||
| isCascadeRefresh | ||
| isCascadeSave | ||
| isEagerlyFetched | ||
| isInverseSide | ||
| isLazilyFetched | ||
| isManuallyFetched | ||
| isOwningSide | ||
| serialize | ||
| unserialize | ||
| array | _validateMapping | |
| __construct | Creates a new AssociationMapping. |
Method Details
-
getMappedByFieldName()
-
getSourceEntityName()
-
getSourceFieldName()
Get the name of the field the association is mapped into.
-
getTargetEntityName()
-
isCascadeDelete()
-
isCascadeRefresh()
-
isCascadeSave()
-
isEagerlyFetched()
-
isInverseSide()
-
isLazilyFetched()
-
isManuallyFetched()
-
isOwningSide()
-
serialize()
-
unserialize($serialized)
-
(array) _validateMapping($mapping)
Validates & completes the mapping. Mapping defaults are applied here.
Doctrine_Association
-
$mapping The mapping definition. __construct($mapping)
Constructor.
Creates a new AssociationMapping.