Pt_BR En Ja De Fr 
You are currently viewing the Development branch api documentation. Switch to 0.11 or 1.0

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 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

Add New Comment
Please enter follow the doctrine