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 RelationshipEntry

Model for the channel_titles table, joined with channel_data

Joins with relationships table

Illuminate\Database\Eloquent\Model
Extended by rsanchez\Deep\Model\AbstractEntity
Extended by rsanchez\Deep\Model\Title uses rsanchez\Deep\Model\JoinableTrait, rsanchez\Deep\Model\GlobalAttributeVisibilityTrait
Extended by rsanchez\Deep\Model\Entry
Extended by rsanchez\Deep\Model\RelationshipEntry
Namespace: rsanchez\Deep\Model
Located at Model/RelationshipEntry.php
Methods summary
protected static
# joinTables( )

Overrides

rsanchez\Deep\Model\Title::joinTables()
public Illuminate\Database\Eloquent\Builder
# scopeParentEntryId( Illuminate\Database\Eloquent\Builder $query, integer|array $entryId )

Filter by Parent Entry ID

Filter by Parent Entry ID

Parameters

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

Returns

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

Get the parents of the specified entry ID

Get the parents of the specified entry ID

Parameters

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

Returns

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

Get the siblings of the specified entry ID

Get the siblings of the specified entry ID

Parameters

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

Returns

Illuminate\Database\Eloquent\Builder
Methods inherited from rsanchez\Deep\Model\Entry
getArrayableAttributes(), newCollection(), newQuery(), scopeOrWhereField(), scopeOrWhereFieldBetween(), scopeOrWhereFieldContains(), scopeOrWhereFieldContainsWholeWord(), scopeOrWhereFieldDoesNotContain(), scopeOrWhereFieldDoesNotContainWholeWord(), scopeOrWhereFieldIn(), scopeOrWhereFieldNotBetween(), scopeOrWhereFieldNotIn(), scopeOrWhereFieldNotNull(), scopeOrWhereFieldNull(), scopeOrderByField(), scopeSearch(), scopeSearchString(), scopeTagparam(), scopeTagparams(), scopeWhereField(), scopeWhereFieldBetween(), scopeWhereFieldContains(), scopeWhereFieldContainsHandler(), scopeWhereFieldContainsManyHandler(), scopeWhereFieldContainsWholeWord(), scopeWhereFieldDoesNotContain(), scopeWhereFieldDoesNotContainWholeWord(), scopeWhereFieldHandler(), scopeWhereFieldIn(), scopeWhereFieldNotBetween(), scopeWhereFieldNotIn(), scopeWhereFieldNotNull(), scopeWhereFieldNull(), setFieldRepository(), toArray()
Methods inherited from rsanchez\Deep\Model\Title
__call(), attributesToArray(), author(), categories(), chan(), comments(), getChannelAttribute(), getChannelNameAttribute(), getChannelShortNameAttribute(), getCommentExpirationDateAttribute(), getEditDateAttribute(), getEntryDateAttribute(), getExpirationDateAttribute(), getId(), getPageUriAttribute(), getRecentCommentDateAttribute(), getType(), getUsernameAttribute(), hydrateCollection(), save(), scopeAllCategories(), scopeArrayFromString(), scopeAuthorId(), scopeAuthorIdString(), scopeCategory(), scopeCategoryGroup(), scopeCategoryGroupString(), scopeCategoryName(), scopeCategoryNameString(), scopeCategoryString(), scopeChannel(), scopeChannelId(), scopeChannelString(), scopeDay(), scopeDynamicParameters(), scopeEntryId(), scopeEntryIdFrom(), scopeEntryIdString(), scopeEntryIdTo(), scopeFixedOrder(), scopeFixedOrderString(), scopeGroupId(), scopeGroupIdString(), scopeLimit(), scopeMonth(), scopeNotAllCategories(), scopeNotAuthorId(), scopeNotCategory(), scopeNotCategoryGroup(), scopeNotCategoryName(), scopeNotChannel(), scopeNotChannelId(), scopeNotEntryId(), scopeNotGroupId(), scopeNotStatus(), scopeOffset(), scopeRelatedCategories(), scopeRelatedCategoriesUrlTitle(), scopeShowExpired(), scopeShowExpiredString(), scopeShowFutureEntries(), scopeShowFutureEntriesString(), scopeShowPages(), scopeShowPagesOnly(), scopeShowPagesString(), scopeSiteId(), scopeStartOn(), scopeStatus(), scopeStatusString(), scopeSticky(), scopeStickyString(), scopeStopBefore(), scopeUrlTitle(), scopeUrlTitleString(), scopeUsername(), scopeUsernameString(), scopeWithAuthor(), scopeWithAuthorFields(), scopeWithCategories(), scopeWithCategoryFields(), scopeWithComments(), scopeWithParents(), scopeWithSiblings(), scopeYear(), setChannelRepository(), setHydratorFactory(), setSiteRepository()
Methods used from rsanchez\Deep\Model\JoinableTrait
(), (), (), ()
Methods used from rsanchez\Deep\Model\GlobalAttributeVisibilityTrait
(), (), (), (), ()
Properties summary
protected array $hidden array('channel', 'site_id', 'forum_topic_id', 'ip_address', 'versioning_enabled', 'parent_id', 'field_id', 'grid_field_id', 'grid_col_id', 'grid_row_id', 'child_id', 'order', 'relationship_id')
#
protected string $collectionClass '\\rsanchez\\Deep\\Collection\\RelationshipCollection'
#

The class used when creating a new Collection

The class used when creating a new Collection

Properties inherited from rsanchez\Deep\Model\Entry
$fieldRepository
Properties inherited from rsanchez\Deep\Model\Title
$channelRepository, $defaultChannelName, $extraHydrators, $globalHidden, $globalVisible, $hydratorFactory, $primaryKey, $siteRepository, $table
API documentation generated by ApiGen 2.8.0