PostObserver
in package
Class PostObserver.
Table of Contents
Methods
- created() : void
- deleted() : void
- decreaseUserActivityPoints() : bool
- decreaseUserPoints() : bool
- increaseUserActivityPoints() : bool
- increaseUserPoints() : bool
Methods
created()
public
created(Post $model) : void
Parameters
- $model : Post
deleted()
public
deleted(Post $model) : void
Parameters
- $model : Post
decreaseUserActivityPoints()
protected
decreaseUserActivityPoints(Post $model) : bool
Parameters
- $model : Post
Return values
booldecreaseUserPoints()
protected
decreaseUserPoints(Post $model, string $action) : bool
Parameters
- $model : Post
- $action : string
Return values
boolincreaseUserActivityPoints()
protected
increaseUserActivityPoints(Post $model) : bool
Parameters
- $model : Post
Return values
boolincreaseUserPoints()
protected
increaseUserPoints(Post $model, string $action) : bool
Parameters
- $model : Post
- $action : string