\LeftAndMainCMSWorkflow
Synopsis
class LeftAndMainCMSWorkflow
extends LeftAndMainDecorator
{
- // members
- private static boolean $prompt_admin_for_comments = true;
- public static array $allowed_actions = ;
- // methods
- public static void set_prompt_admin_for_comments()
- public void cms_setembargoexpiry()
- public void init()
- public void cms_requestpublication()
- public void cms_requestdeletefromlive()
- public void cms_approve()
- public void cms_cancelexpiry()
- public void onAfterSave()
- public void onBeforeRollback()
- public void cms_publishwithcomment()
- public void cms_requestedit()
- public void cms_deny()
- public void cms_cancel()
- public void cms_comment()
- public void workflowAction()
Hierarchy
Extends
- LeftAndMainDecorator
Members
private
- $prompt_admin_for_comments
public
- $allowed_actions
Methods
public
- cms_approve()
- cms_cancel()
- cms_cancelexpiry()
- cms_comment()
- cms_deny()
- cms_publishwithcomment()
- cms_requestdeletefromlive()
- cms_requestedit()
- cms_requestpublication() — Handler for the CMS button
- cms_setembargoexpiry()
- init()
- onAfterSave() — When a page is saved, we need to check if there is an in-progress workflow request, and if applicable, set it back to AwaitingApproval
- onBeforeRollback()
- set_prompt_admin_for_comments()
- workflowAction() — Process a workflow action.