Overview

Namespaces

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

Classes

  • AbstractEntity
  • AbstractField
  • AbstractProperty
  • Asset
  • Category
  • CategoryField
  • CategoryPosts
  • Channel
  • Comment
  • Entry
  • Field
  • Fieldtype
  • File
  • GridCol
  • GridRow
  • JoinableScope
  • MatrixCol
  • MatrixRow
  • Member
  • MemberField
  • PlayaEntry
  • RelationshipEntry
  • Site
  • Title
  • UploadPref

Interfaces

  • FileInterface

Traits

  • GlobalAttributeVisibilityTrait
  • JoinableTrait
  • Overview
  • Namespace
  • Class
  • Tree

Class MatrixRow

Model for the matrix_data table

Illuminate\Database\Eloquent\Model
Extended by rsanchez\Deep\Model\AbstractEntity
Extended by rsanchez\Deep\Model\MatrixRow
Namespace: rsanchez\Deep\Model
Located at Model/MatrixRow.php
Methods summary
public rsanchez\Deep\Collection\MatrixRowCollection
# newCollection( array $models = array() )

Parameters

$models
array
$models

Returns

rsanchez\Deep\Collection\MatrixRowCollection
public string|integer
# getId( )

Get the entity ID (eg. entry_id or row_id)

Get the entity ID (eg. entry_id or row_id)

Returns

string|integer
public string|null
# getType( )

Get the entity type (eg. 'matrix' or 'grid' or 'entry')

Get the entity type (eg. 'matrix' or 'grid' or 'entry')

Returns

string|null
public Illuminate\Database\Eloquent\Builder
# scopeEntryId( Illuminate\Database\Eloquent\Builder $query, integer|array $entryId )

Filter by Entry ID

Filter by Entry ID

Parameters

$query
Illuminate\Database\Eloquent\Builder
$query
$entryId
integer|array
$entryId

Returns

Illuminate\Database\Eloquent\Builder
public
# setCols( rsanchez\Deep\Collection\MatrixColCollection $cols )

Set the Matrix columns for this row

Set the Matrix columns for this row

Parameters

$cols
rsanchez\Deep\Collection\MatrixColCollection
$cols
public
# getCols( )
public
# toArray( )
Properties summary
protected string $table 'matrix_data'
#
protected string $primaryKey 'row_id'
#
protected array $hidden array('site_id', 'entry_id', 'field_id', 'var_id', 'is_draft', 'row_order')
#
protected rsanchez\Deep\Collection\MatrixColCollection $cols
#

Cols associated with this row

Cols associated with this row

API documentation generated by ApiGen 2.8.0