$revisionEnabled
$revisionEnabled : boolean
User permission category
$objectRevisionClass : string
The class name of the object revision model.
Must be a fully-qualified PHP namespace and an implementation of \Charcoal\Object\ObjectRevisionInterface. Used by the model factory.
setCategoryItemType(string $type) : \Charcoal\Object\CategoryInterface
string | $type | The category item type. |
If the type argument is not a string.
Chainable
setActive(boolean $active) : \Charcoal\Object\Content
boolean | $active | The active flag. |
Chainable
setPosition(integer $position) : \Charcoal\Object\Content
integer | $position | The position (for ordering purpose). |
If the position is not an integer (or numeric integer string).
Chainable
setCreated(\DateTimeInterface|string|null $created) : \Charcoal\Object\Content
\DateTimeInterface|string|null | $created | The date/time at object's creation. |
If the date/time is invalid.
Chainable
setCreatedBy(mixed $createdBy) : \Charcoal\Object\Content
mixed | $createdBy | The creator of the content object. |
Chainable
setLastModified(\DateTimeInterface|string|null $lastModified) : \Charcoal\Object\Content
\DateTimeInterface|string|null | $lastModified | The last modified date/time. |
If the date/time is invalid.
Chainable
setLastModifiedBy(mixed $lastModifiedBy) : \Charcoal\Object\Content
mixed | $lastModifiedBy | The last modification's username. |
Chainable
setRevisionEnabled(boolean $enabled) : \Charcoal\Object\RevisionableInterface
boolean | $enabled | The (revision) enabled flag. |
Chainable
createRevisionObject() : \Charcoal\Object\ObjectRevisionInterface
Create a revision object.
generateRevision() : \Charcoal\Object\ObjectRevision
latestRevision() : \Charcoal\Object\ObjectRevision
revisionNum(integer $revNum) : \Charcoal\Object\ObjectRevision
integer | $revNum | The revision number. |
setObjectRevisionClass(string $className) : \Charcoal\Object\AbstractPropertyDisplay
Set the class name of the object revision model.
string | $className | The class name of the object revision model. |
If the class name is not a string.
Chainable