Overview

Namespaces

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

Classes

  • AbstractDeferredRepository
  • AbstractFieldRepository
  • CategoryFieldRepository
  • ChannelRepository
  • ConfigUploadPrefRepository
  • FieldRepository
  • MemberFieldRepository
  • SiteRepository
  • UploadPrefRepository

Interfaces

  • RepositoryInterface
  • UploadPrefRepositoryInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class AbstractFieldRepository

Repository of all Fields

rsanchez\Deep\Repository\AbstractDeferredRepository implements rsanchez\Deep\Repository\RepositoryInterface
Extended by rsanchez\Deep\Repository\AbstractFieldRepository

Direct known subclasses

rsanchez\Deep\Repository\CategoryFieldRepository, rsanchez\Deep\Repository\FieldRepository, rsanchez\Deep\Repository\MemberFieldRepository
Abstract
Namespace: rsanchez\Deep\Repository
Located at Repository/AbstractFieldRepository.php
Methods summary
public
# __construct( rsanchez\Deep\Model\AbstractField $model )

Constructor

Constructor

Parameters

$model
rsanchez\Deep\Model\AbstractField
$model

Overrides

rsanchez\Deep\Repository\AbstractDeferredRepository::__construct()
protected
# boot( )

Defer loading of Collection until needed

Defer loading of Collection until needed

Overrides

rsanchez\Deep\Repository\AbstractDeferredRepository::boot()
public rsanchez\Deep\Collection\AbstractFieldCollection
# getFields( )

Get the collection of Fields

Get the collection of Fields

Returns

rsanchez\Deep\Collection\AbstractFieldCollection
public rsanchez\Deep\Model\Field
# getFieldId( string $field )

Get the field_id for the specified field name

Get the field_id for the specified field name

Parameters

$field
string
$field name of the field

Returns

rsanchez\Deep\Model\Field
public string
# getFieldName( integer $id )

Get the field_id for the specified field name

Get the field_id for the specified field name

Parameters

$id
integer
$id id of the field

Returns

string
public boolean
# hasField( string $field )

Check if this collection has the specified field name

Check if this collection has the specified field name

Parameters

$field
string
$field the name of the field

Returns

boolean
public boolean
# hasFieldId( integer $id )

Check if this collection has the specified field id

Check if this collection has the specified field id

Parameters

$id
integer
$id the id of the field

Returns

boolean
public Illuminate\Database\Eloquent\Model|null
# find( mixed $id )

Find an entity by ID

Find an entity by ID

Returns

Illuminate\Database\Eloquent\Model|null

Overrides

rsanchez\Deep\Repository\AbstractDeferredRepository::find()
Methods inherited from rsanchez\Deep\Repository\AbstractDeferredRepository
getModel()
Properties summary
protected array $fieldsByName array()
#

Array of Field keyed by field_name

Array of Field keyed by field_name

protected array $fieldsById array()
#

Array of Field keyed by field_id

Array of Field keyed by field_id

Properties inherited from rsanchez\Deep\Repository\AbstractDeferredRepository
$collection, $model
API documentation generated by ApiGen 2.8.0