Overview

Packages

  • Doctrine
    • Access
    • Adapter
    • AuditLog
    • Builder
    • Cache
    • Cli
    • Collection
    • Column
    • Compiler
    • Configurable
    • Connection
    • Data
    • DataDict
    • Event
    • EventListener
    • Exception
    • Export
    • Expression
    • File
    • Formatter
    • Hook
    • Hydrate
    • I18n
    • Import
    • Inflector
    • IntegrityMapper
    • Lib
    • Locator
    • Locking
    • Manager
    • Migration
    • Node
    • Null
    • Overloadable
    • Pager
    • Parser
    • Plugin
    • Query
    • RawSql
    • Record
    • Relation
    • Search
    • Sequence
    • Table
    • Task
    • Template
    • Transaction
    • Tree
    • Util
    • Validator
    • View
  • None
  • PHP
  • symfony
    • yaml

Classes

  • Doctrine_Hydrator
  • Doctrine_Hydrator_Abstract
  • Doctrine_Hydrator_ArrayDriver
  • Doctrine_Hydrator_ArrayHierarchyDriver
  • Doctrine_Hydrator_ArrayShallowDriver
  • Doctrine_Hydrator_Graph
  • Doctrine_Hydrator_NoneDriver
  • Doctrine_Hydrator_RecordDriver
  • Doctrine_Hydrator_RecordHierarchyDriver
  • Doctrine_Hydrator_ScalarDriver
  • Doctrine_Hydrator_SingleScalarDriver

Exceptions

  • Doctrine_Hydrator_Exception
  • Overview
  • Package
  • Class
  • Tree
  • Download

Class Doctrine_Hydrator_Abstract

Doctrine_Hydrator_Abstract

Doctrine_Locator_Injectable
Extended by Doctrine_Hydrator_Abstract

Direct known subclasses

Doctrine_Hydrator_Graph, Doctrine_Hydrator_NoneDriver, Doctrine_Hydrator_ScalarDriver, Doctrine_Hydrator_SingleScalarDriver

Indirect known subclasses

Doctrine_Hydrator_ArrayDriver, Doctrine_Hydrator_ArrayHierarchyDriver, Doctrine_Hydrator_ArrayShallowDriver, Doctrine_Hydrator_RecordDriver, Doctrine_Hydrator_RecordHierarchyDriver
Abstract
Package: Doctrine\Hydrate
License: LGPL
Author: Konsta Vesterinen <kvesteri@cc.hut.fi>
Version: $Revision: 3192 $
Since: 1.0
Link: www.doctrine-project.org
Located at Hydrator/Abstract.php
Methods summary
public
# __construct( mixed $queryComponents = null, mixed $tableAliases = null, mixed $hydrationMode = null )
public
# setQueryComponents( array $queryComponents )

Set the query components (structure and query instructions)

Set the query components (structure and query instructions)

Parameters

$queryComponents
public
# setTableAliases( array $tableAliases )

Set the table aliases for this query

Set the table aliases for this query

Parameters

$tableAliases
public
# setHydrationMode( mixed $hydrationMode )

Set the hydration mode

Set the hydration mode

Parameters

$hydrationMode
One of the Doctrine_Core::HYDRATE_* constants or a string representing the name of the hydration mode or or an instance of the hydration class
public
# getRootComponent( )
public
# onDemandReset( )
protected boolean
# _isIgnoredName( string $name )

Checks whether a name is ignored. Used during result set parsing to skip certain elements in the result set that do not have any meaning for the result. (I.e. ORACLE limit/offset emulation adds doctrine_rownum to the result set).

Checks whether a name is ignored. Used during result set parsing to skip certain elements in the result set that do not have any meaning for the result. (I.e. ORACLE limit/offset emulation adds doctrine_rownum to the result set).

Parameters

$name

Returns

boolean
boolean
abstract public mixed
# hydrateResultSet( mixed $stmt )

hydrateResultSet parses the data returned by statement object

hydrateResultSet parses the data returned by statement object

This is method defines the core of Doctrine object population algorithm hence this method strives to be as fast as possible

The key idea is the loop over the rowset only once doing all the needed operations within this massive loop.

Parameters

$stmt

Returns

mixed
mixed
Methods inherited from Doctrine_Locator_Injectable
bind(), getLocator(), getNullObject(), initNullObject(), locate(), setLocator()
Properties summary
protected array $_queryComponents
#array()
protected array $_tableAliases
#array()
protected mixed $_priorRow
#
protected mixed $_hydrationMode
#
Properties inherited from Doctrine_Locator_Injectable
$_locator, $_null, $_resources
Doctrine 1 API documentation generated by ApiGen 3.0dev