Overview

Namespaces

  • Charcoal
    • Object
    • User
      • Acl

Classes

  • Charcoal\Object\Content
  • Charcoal\Object\ObjectRevision
  • Charcoal\Object\ObjectRoute
  • Charcoal\Object\ObjectSchedule
  • Charcoal\Object\UserData
  • Charcoal\User\AbstractUser
  • Charcoal\User\Acl\Manager
  • Charcoal\User\Acl\Permission
  • Charcoal\User\Acl\PermissionCategory
  • Charcoal\User\Acl\Role
  • Charcoal\User\Authenticator
  • Charcoal\User\Authorizer
  • Charcoal\User\AuthToken
  • Charcoal\User\AuthTokenMetadata
  • Charcoal\User\GenericUser

Interfaces

  • Charcoal\Object\ArchivableInterface
  • Charcoal\Object\CategorizableInterface
  • Charcoal\Object\CategorizableMultipleInterface
  • Charcoal\Object\CategoryInterface
  • Charcoal\Object\ContentInterface
  • Charcoal\Object\HierarchicalInterface
  • Charcoal\Object\ObjectRevisionInterface
  • Charcoal\Object\ObjectRouteInterface
  • Charcoal\Object\ObjectScheduleInterface
  • Charcoal\Object\PublishableInterface
  • Charcoal\Object\RevisionableInterface
  • Charcoal\Object\RoutableInterface
  • Charcoal\Object\UserDataInterface
  • Charcoal\User\UserInterface

Traits

  • Charcoal\Object\ArchivableTrait
  • Charcoal\Object\CategorizableMultipleTrait
  • Charcoal\Object\CategorizableTrait
  • Charcoal\Object\CategoryTrait
  • Charcoal\Object\HierarchicalTrait
  • Charcoal\Object\PublishableTrait
  • Charcoal\Object\RevisionableTrait
  • Charcoal\Object\RoutableTrait
  • Overview
  • Namespace
  • Class
 1: <?php
 2: 
 3: namespace Charcoal\Object;
 4: 
 5: // Dependency from 'charcoal-core'
 6: use Charcoal\Model\ModelInterface;
 7: 
 8: /**
 9:  * Content Interface, based on charcoal/model/model-interface.
10:  */
11: interface ContentInterface extends ModelInterface
12: {
13:     /**
14:      * @param boolean $active The active flag.
15:      * @return Content Chainable
16:      */
17:     public function setActive($active);
18: 
19:     /**
20:      * @return boolean
21:      */
22:     public function active();
23: 
24:     /**
25:      * @param integer $position The position index.
26:      * @return Content Chainable
27:      */
28:     public function setPosition($position);
29: 
30:     /**
31:      * @return integer
32:      */
33:     public function position();
34: 
35:     /**
36:      * @param \DateTimeInterface|string|null $created The created date.
37:      * @return Content Chainable
38:      */
39:     public function setCreated($created);
40: 
41:     /**
42:      * @return \DateTimeInterface|null
43:      */
44:     public function created();
45: 
46:     /**
47:      * @param mixed $createdBy The author, at object creation.
48:      * @return Content Chainable
49:      */
50:     public function setCreatedBy($createdBy);
51: 
52:     /**
53:      * @return mixed
54:      */
55:     public function createdBy();
56: 
57:     /**
58:      * @param \DateTimeInterface|string|null $lastModified The last modified date.
59:      * @return Content Chainable
60:      */
61:     public function setLastModified($lastModified);
62: 
63:     /**
64:      * @return \DateTimeInterface|null
65:      */
66:     public function lastModified();
67: 
68:     /**
69:      * @param mixed $lastModifiedBy The author, at object modificaition (update).
70:      * @return Content Chainable
71:      */
72:     public function setLastModifiedBy($lastModifiedBy);
73: 
74:     /**
75:      * @return mixed
76:      */
77:     public function lastModifiedBy();
78: }
79: 
API documentation generated by ApiGen