ModelCreatingListener
in package
Uses
HandleResourceTextTrait
Table of Contents
Methods
- handle() : void
- handleResourceText() : void
- handleFeaturedAt() : void
- handlePendingItem() : void
- This handler is for handling previllege cases where there are some users who have permission to approve pending items.
Methods
handle()
public
handle(Model $model) : void
Parameters
- $model : Model
handleResourceText()
public
handleResourceText(ResourceText $model) : void
Parameters
- $model : ResourceText
handleFeaturedAt()
private
handleFeaturedAt(Content $model) : void
Parameters
- $model : Content
handlePendingItem()
This handler is for handling previllege cases where there are some users who have permission to approve pending items.
private
handlePendingItem(Content $model) : void
Thus, those items which they creates should be approved after created.
Parameters
- $model : Content