apply()
apply( $content, String $action, Boolean $save = false) : \CMS_Content
Apply action on content
Each content must follow CRUD actions in life cycle. Here is default action list:
- create
- read
- update
- delete
Parameters
$content | ||
String | $action | |
Boolean | $save | to save or not the content |