WorkflowsObserver Class Reference

Public Member Functions

 init ()
 processWorkflowBeforeSave (CEvent $event)
 processWorkflowAfterSave (CEvent $event)
 setDepth ($depth)

Data Fields

 $enabled = true

Protected Attributes

 $depth = 0

Detailed Description

Used to observe when a model that can be an activityItem is deleted so that the activity_item can be properly removed.

Definition at line 40 of file WorkflowsObserver.php.


Member Function Documentation

processWorkflowBeforeSave ( CEvent $  event  ) 

Given a event, process any workflow rules

Parameters:
CEvent $event

Definition at line 85 of file WorkflowsObserver.php.

processWorkflowAfterSave ( CEvent $  event  ) 

Given a event, process any workflow rules

Parameters:
CEvent $event

Definition at line 110 of file WorkflowsObserver.php.

setDepth ( depth  ) 

Function for testing only. Do not use otherwise.

Parameters:
$depth 

Definition at line 148 of file WorkflowsObserver.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sat Sep 23 07:10:30 2017