Overview

Namespaces

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

Classes

  • AbstractFieldCollection
  • AbstractTitleCollection
  • AssetCollection
  • CategoryCollection
  • CategoryFieldCollection
  • ChannelCollection
  • EntryCollection
  • FieldCollection
  • FileCollection
  • GridColCollection
  • GridRowCollection
  • MatrixColCollection
  • MatrixRowCollection
  • MemberFieldCollection
  • PlayaCollection
  • RelationshipCollection
  • SiteCollection
  • TitleCollection
  • UploadPrefCollection

Interfaces

  • FilterableInterface

Traits

  • FilterableTrait
  • Overview
  • Namespace
  • Class
  • Tree

Class EntryCollection

Collection of \rsanchez\Deep\Model\Entry

Illuminate\Database\Eloquent\Collection
Extended by rsanchez\Deep\Collection\AbstractTitleCollection implements rsanchez\Deep\Collection\FilterableInterface uses rsanchez\Deep\Collection\FilterableTrait
Extended by rsanchez\Deep\Collection\TitleCollection
Extended by rsanchez\Deep\Collection\EntryCollection

Direct known subclasses

rsanchez\Deep\Collection\PlayaCollection, rsanchez\Deep\Collection\RelationshipCollection
Namespace: rsanchez\Deep\Collection
Located at Collection/EntryCollection.php
Methods summary
public static rsanchez\Deep\Collection\EntryCollection
# createWithFields( array $models, rsanchez\Deep\Repository\ChannelRepository $channelRepository, rsanchez\Deep\Repository\FieldRepository $fieldRepository )

Instantiate a collection of models

Instantiate a collection of models

Parameters

$models
array
$models
$channelRepository
rsanchez\Deep\Repository\ChannelRepository
$channelRepository
$fieldRepository
rsanchez\Deep\Repository\FieldRepository
$fieldRepository

Returns

rsanchez\Deep\Collection\EntryCollection
public rsanchez\Deep\Collection\AbstractTitleCollection
# createChildCollection( array $models )

Create a new collection using the current instance's properties as injected dependencies.

Create a new collection using the current instance's properties as injected dependencies.

Parameters

$models
array
$models

Returns

rsanchez\Deep\Collection\AbstractTitleCollection

Overrides

rsanchez\Deep\Collection\AbstractTitleCollection::createChildCollection()
public
# setFieldRepository( rsanchez\Deep\Repository\FieldRepository $fieldRepository )

Set the Field Repository

Set the Field Repository

Parameters

$fieldRepository
rsanchez\Deep\Repository\FieldRepository
$fieldRepository
public array
# getFieldtypes( )

Get a list of names of fieldtypes used by this collection

Get a list of names of fieldtypes used by this collection

Returns

array
public rsanchez\Deep\Collection\FieldCollection
# getFields( )

Get the fields used by this collection

Get the fields used by this collection

Returns

rsanchez\Deep\Collection\FieldCollection
public
# setFields( rsanchez\Deep\Collection\FieldCollection $fields )

Get the fields used by this collection

Get the fields used by this collection

Parameters

$fields
rsanchez\Deep\Collection\FieldCollection
public boolean
# hasFieldtype( string $fieldtype )

Check if this collection uses the specified fieldtype

Check if this collection uses the specified fieldtype

Parameters

$fieldtype
string
$fieldtype

Returns

boolean
public boolean
# hasCustomFields( )

Whether or not this collection supports custom fields

Whether or not this collection supports custom fields

Returns

boolean

Overrides

rsanchez\Deep\Collection\AbstractTitleCollection::hasCustomFields()
public array
# getFieldIdsByFieldtype( string $fieldtype )

Get the field IDs for the specified fieldtype

Get the field IDs for the specified fieldtype

Parameters

$fieldtype
string
$fieldtype

Returns

array
public
# setMatrixCols( rsanchez\Deep\Collection\MatrixColCollection $matrixCols )

Set the Matrix columns for this collection

Set the Matrix columns for this collection

Parameters

$matrixCols
rsanchez\Deep\Collection\MatrixColCollection
$matrixCols
public rsanchez\Deep\Collection\MatrixColCollection|null
# getMatrixCols( )

Get the Matrix columns for this collection

Get the Matrix columns for this collection

Returns

rsanchez\Deep\Collection\MatrixColCollection|null
public
# setGridCols( rsanchez\Deep\Collection\GridColCollection $gridCols )

Set the Grid columns for this collection

Set the Grid columns for this collection

Parameters

$gridCols
rsanchez\Deep\Collection\GridColCollection
$gridCols
public rsanchez\Deep\Collection\GridColCollection|null
# getGridCols( )

Get the Grid columns for this collection

Get the Grid columns for this collection

Returns

rsanchez\Deep\Collection\GridColCollection|null
Methods inherited from rsanchez\Deep\Collection\AbstractTitleCollection
addEntryId(), addEntryIds(), create(), getChannels(), getEntryIds(), setChannelRepository(), setChannels(), toJson()
Methods inherited from rsanchez\Deep\Collection\FilterableInterface
__invoke(), createClone(), filterByAttribute(), filterByAttributeComparison(), filterByAttributeContains(), filterByAttributeIn(), filterByAttributeInString(), filterById(), limit(), offset(), sortByAttribute(), sortByFixedOrder(), tagparams()
Methods used from rsanchez\Deep\Collection\FilterableTrait
(), (), (), (), (), (), (), (), (), (), (), (), (), ()
Properties summary
protected rsanchez\Deep\Collection\MatrixColCollection $matrixCols
#

Matrix columns used by this collection

Matrix columns used by this collection

protected rsanchez\Deep\Collection\GridColCollection $gridCols
#

Grid columns used by this collection

Grid columns used by this collection

protected rsanchez\Deep\Collection\FieldCollection $fields
#

Fields used by this collection

Fields used by this collection

Properties inherited from rsanchez\Deep\Collection\AbstractTitleCollection
$channels, $entryIds
API documentation generated by ApiGen 2.8.0