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

Trait GlobalAttributeVisibilityTrait

Trait for Eloquent models that allows you to set the model's hidden or visible attributes globally for all instances of the model.

Direct Known Users

rsanchez\Deep\Model\Title

Indirect Known Users

rsanchez\Deep\Model\Entry, rsanchez\Deep\Model\PlayaEntry, rsanchez\Deep\Model\RelationshipEntry
Namespace: rsanchez\Deep\Model
Located at Model/GlobalAttributeVisibilityTrait.php
Methods summary
protected array
# getArrayableItems( array $values )

Get an attribute array of all arrayable values.

Get an attribute array of all arrayable values.

Parameters

$values
array
$values

Returns

array
public static array
# getGlobalHidden( )

Get the global hidden attributes for all instances of this model.

Get the global hidden attributes for all instances of this model.

Returns

array
public static
# setGlobalHidden( array $hidden )

Set the global hidden attributes for all instances of this model.

Set the global hidden attributes for all instances of this model.

Parameters

$hidden
array
$hidden
public static array
# getGlobalVisible( )

Get the global visible attributes for all instances of this model.

Get the global visible attributes for all instances of this model.

Returns

array
public static
# setGlobalVisible( array $visible )

Set the global visible attributes for all instances of this model.

Set the global visible attributes for all instances of this model.

Parameters

$visible
array
$visible
API documentation generated by ApiGen 2.8.0