Overview

Namespaces

  • rsanchez
    • Deep
      • App
        • EE
        • Laravel
          • Facade
      • Collection
      • Hydrator
      • Model
      • Plugin
      • Relations
      • Repository

Classes

  • AbstractHydrator
  • AssetsHydrator
  • DateHydrator
  • ExplodeHydrator
  • FileHydrator
  • GridHydrator
  • HydratorFactory
  • MatrixHydrator
  • ParentsHydrator
  • PipeHydrator
  • PlayaHydrator
  • RelationshipHydrator
  • SiblingsHydrator
  • WysiwygHydrator

Interfaces

  • HydratorInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class PlayaHydrator

Hydrator for the Playa fieldtype

rsanchez\Deep\Hydrator\AbstractHydrator implements rsanchez\Deep\Hydrator\HydratorInterface
Extended by rsanchez\Deep\Hydrator\PlayaHydrator
Namespace: rsanchez\Deep\Hydrator
Located at Hydrator/PlayaHydrator.php
Methods summary
public
# __construct( rsanchez\Deep\Collection\EntryCollection $collection, string $fieldtype, rsanchez\Deep\Model\PlayaEntry $model )

Constructor

Constructor

Parameters

$collection
rsanchez\Deep\Collection\EntryCollection
$collection
$fieldtype
string
$fieldtype
$model

Overrides

rsanchez\Deep\Hydrator\AbstractHydrator::__construct()
public mixed
# hydrate( rsanchez\Deep\Model\AbstractEntity $entity, rsanchez\Deep\Model\AbstractProperty $property )

Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row)

Hydrate the specified property (channel field or Matrix/Grid col) on the specified entity (channel entry or Matrix/Grid row)

Parameters

$entity
rsanchez\Deep\Model\AbstractEntity
$entity
$property
rsanchez\Deep\Model\AbstractProperty
$property

Returns

mixed
the entity property value
Methods inherited from rsanchez\Deep\Hydrator\AbstractHydrator
preload()
Properties summary
protected rsanchez\Deep\Model\PlayaEntry $model
#
protected array $entries
#

List of entries in this collection, organized by type, entity and property

List of entries in this collection, organized by type, entity and property

protected rsanchez\Deep\Collection\PlayaCollection $playaCollection
#

Collection of entries being loaded by the parent collection

Collection of entries being loaded by the parent collection

Properties inherited from rsanchez\Deep\Hydrator\AbstractHydrator
$collection, $fieldtype
API documentation generated by ApiGen 2.8.0