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
 1: <?php
 2: 
 3: /**
 4:  * Deep
 5:  *
 6:  * @package      rsanchez\Deep
 7:  * @author       Rob Sanchez <info@robsanchez.com>
 8:  */
 9: 
10: namespace rsanchez\Deep\Model;
11: 
12: use rsanchez\Deep\Model\AbstractProperty;
13: 
14: /**
15:  * Interface for field models
16:  */
17: abstract class AbstractField extends AbstractProperty
18: {
19:     /**
20:      * Get the field short name
21:      *
22:      * @return string
23:      */
24:     public function getFieldNameAttribute($value)
25:     {
26:         return $value;
27:     }
28: 
29:     /**
30:      * Get the field ID
31:      *
32:      * @return string
33:      */
34:     public function getFieldIdAttribute($value)
35:     {
36:         return $value;
37:     }
38: }
39: 
API documentation generated by ApiGen 2.8.0