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 Illuminate\Database\Eloquent\Model;
13: 
14: /**
15:  * Model for the category_posts table
16:  */
17: class CategoryPosts extends Model
18: {
19:     /**
20:      * {@inheritdoc}
21:      *
22:      * @var string
23:      */
24:     protected $table = 'category_posts';
25: 
26:     /**
27:      * {@inheritdoc}
28:      *
29:      * @var string
30:      */
31:     protected $primaryKey = 'cat_id';
32: 
33:     /**
34:      * {@inheritdoc}
35:      *
36:      * @var bool
37:      */
38:     public $incrementing = false;
39: 
40:     /**
41:      * {@inheritdoc}
42:      *
43:      * @var bool
44:      */
45:     public $timestamps = false;
46: 
47: }
48: 
API documentation generated by ApiGen 2.8.0