1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Fixed some AbstractHydrator docblocks

This commit is contained in:
Benjamin Eberlei 2011-11-01 16:42:03 +01:00
parent 98e3e04477
commit afb8d63fcb

View File

@ -158,11 +158,12 @@ abstract class AbstractHydrator
/**
* Processes a row of the result set.
*
* Used for identity-based hydration (HYDRATE_OBJECT and HYDRATE_ARRAY).
* Puts the elements of a result row into a new array, grouped by the class
* Puts the elements of a result row into a new array, grouped by the dql alias
* they belong to. The column names in the result set are mapped to their
* field names during this procedure as well as any necessary conversions on
* the values applied.
* the values applied. Scalar values are kept in a specfic key 'scalars'.
*
* @param array $data SQL Result Row
* @param array &$cache Cache for column to field result information
@ -241,6 +242,7 @@ abstract class AbstractHydrator
/**
* Processes a row of the result set.
*
* Used for HYDRATE_SCALAR. This is a variant of _gatherRowData() that
* simply converts column names to field names and properly converts the
* values according to their types. The resulting row has the same number