Class GridHydrator
Hydrator for the Grid fieldtype
- rsanchez\Deep\Hydrator\AbstractHydrator implements rsanchez\Deep\Hydrator\HydratorInterface
- rsanchez\Deep\Hydrator\GridHydrator
public
|
#
__construct(
Constructor |
public
|
|
public
mixed
|
#
hydrate(
Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row) |
protected
|
$colModel |
|
|
protected
|
$rowModel |
|
|
protected
|
$cols |
|
#
All Grid cols used by this collection |
protected
array
|
$rows | array() |
#
Array of field_id => \rsanchez\Deep\Collection\GridRowCollection |
$collection,
$fieldtype
|