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 WysiwygHydrator

Hydrator for the WYSIWYG fields

rsanchez\Deep\Hydrator\AbstractHydrator implements rsanchez\Deep\Hydrator\HydratorInterface
Extended by rsanchez\Deep\Hydrator\WysiwygHydrator
Namespace: rsanchez\Deep\Hydrator
Located at Hydrator/WysiwygHydrator.php
Methods summary
public
# __construct( rsanchez\Deep\Collection\EntryCollection $collection, string $fieldtype, rsanchez\Deep\Repository\SiteRepository $siteRepository, rsanchez\Deep\Repository\UploadPrefRepositoryInterface $uploadPrefRepository )

Constructor

Constructor

Parameters

$collection
rsanchez\Deep\Collection\EntryCollection
$collection
$fieldtype
string
$fieldtype
$siteRepository
rsanchez\Deep\Repository\SiteRepository
$siteRepository
$uploadPrefRepository
rsanchez\Deep\Repository\UploadPrefRepositoryInterface
$uploadPrefRepository

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
public string
# parse( string $value )

Parse a string for these values:

Parse a string for these values:

{filedir_X}, {assets_X:file_name}, {page_X}

Parameters

$value
string
$value WYSIWYG content

Returns

string
Methods inherited from rsanchez\Deep\Hydrator\AbstractHydrator
preload()
Properties summary
protected rsanchez\Deep\Repository\SiteRepository $siteRepository
#

UploadPref model repository

UploadPref model repository

protected rsanchez\Deep\Repository\UploadPrefRepositoryInterface $uploadPrefRepository
#

UploadPref model repository

UploadPref model repository

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