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 FieldCollection

Collection of \rsanchez\Deep\Model\Field

Illuminate\Database\Eloquent\Collection
Extended by rsanchez\Deep\Collection\AbstractFieldCollection
Extended by rsanchez\Deep\Collection\FieldCollection
Namespace: rsanchez\Deep\Collection
Located at Collection/FieldCollection.php
Methods summary
public
# __construct( array $fields = array() )

Overrides

rsanchez\Deep\Collection\AbstractFieldCollection::__construct()
public
# push( mixed $field )

Overrides

rsanchez\Deep\Collection\AbstractFieldCollection::push()
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 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
# getFieldsByFieldtype( mixed $fieldtype )
public array
# getFieldtypes( )

Get a list of names of fieldtypes in this collection

Get a list of names of fieldtypes in this collection

Returns

array
public
# addFieldtype( string $fieldtype )

Add a fieldtype to the list of fieldtypes in this collection

Add a fieldtype to the list of fieldtypes in this collection

Parameters

$fieldtype
string
$fieldtype
Methods inherited from rsanchez\Deep\Collection\AbstractFieldCollection
getFieldId(), hasField()
Properties summary
protected array $fieldtypes array()
#

Fieldtypes used by this collection

Fieldtypes used by this collection

protected array $fieldIdsByFieldtype array()
#

Map of fieldtypes to field IDs:
'fieldtype_name' => array(1, 2, 3),

Map of fieldtypes to field IDs: 'fieldtype_name' => array(1, 2, 3),

protected array $fieldsByFieldtype array()
#
Properties inherited from rsanchez\Deep\Collection\AbstractFieldCollection
$fieldsByName
API documentation generated by ApiGen 2.8.0