Development Doctrine_EntityPersister_JoinedSubclass
Doctrine EntityPersister JoinedSubclass
The joined subclass persister maps a single entity instance to several tables in the database as it is defined by <tt>Class Table Inheritance</tt>.
Inheritence
Doctrine_EntityPersister_JoinedSubclass < Doctrine_EntityPersister_Abstract
Method Summary
- getOwningClass
- boolean _doUpdate
- array getCustomFields
- array _groupFieldsByDefiningClass
- array getCustomJoins
- boolean _doInsert
- getFieldNames
- _doDelete
Methods inherited from Doctrine_EntityPersister_Abstract
_updateRow , getOwningClass , saveSingleRecord , saveAssociations , _doUpdate , _convertFieldToColumnNames , delete , getClassMetadata , getCustomFields , _insertOrUpdate , _insertRow , _saveRelated , save , getComponentName , _update , getCustomJoins , __construct , _insert , _doInsert , _deleteRow , getFieldNames , getConnection , getEntityManager , _deleteComposites , _doDeleteMethod Details
-
getOwningClass($fieldName)
-
$record record to be updated (boolean) _doUpdate(( ) $record)
Updates an entity that is part of a Class Table Inheritance hierarchy.
Doctrine_EntityPersister_JoinedSubclass
-
(array) getCustomFields()
Adds the discriminator column to the selected fields in a query as well as all fields of subclasses. In Class Table Inheritance the default behavior is that all subclasses are joined in through OUTER JOINs when querying a base class.
Callback that is invoked during the SQL construction process.
Doctrine_EntityPersister_JoinedSubclass
-
(array) _groupFieldsByDefiningClass(( ) $record)
Analyzes the fields of the entity and creates a map in which the field names are grouped by the class names they belong to.
-
(array) getCustomJoins()
Adds all parent classes as INNER JOINs and subclasses as OUTER JOINs to the query.
Callback that is invoked during the SQL construction process.
Doctrine_EntityPersister_JoinedSubclass
-
$record record to be inserted (boolean) _doInsert(( ) $record)
Inserts an entity that is part of a Class Table Inheritance hierarchy.
-
getFieldNames()
-
_doDelete(( ) $record)
Deletes an entity that is part of a Class Table Inheritance hierarchy.




Comments (0) [ add comment ]
No Comments
Add Comment