Public Member Functions | Data Fields | Protected Member Functions

doTriggerService Class Reference

Inheritance diagram for doTriggerService:
Inheritance graph
[legend]
Collaboration diagram for doTriggerService:
Collaboration graph
[legend]

Public Member Functions

 __construct (&$xmlArr)
 execute ($dataObj, $triggerType)

Data Fields

 $m_DataObjName
 $m_DOTriggerList = array()

Protected Member Functions

 readMetadata (&$xmlArr)
 executeAllActions ($doTrigger, $dataObj)
 matchCondition ($doTrigger, $dataObj)
 executeAction ($triggerAction, $dataObj)
 callService ($argList)
 executeShell ($argList)
 executeSQL ($argList)
 sendEmail ($argList)
 auditTrail ($argList)
 createInboxItem ($argList)

Detailed Description

Definition at line 38 of file doTriggerService.php.


Constructor & Destructor Documentation

__construct ( &$  xmlArr )

Initialize chartService with xml array metadata

Parameters:
array$xmlArr
Returns:
void

Reimplemented from MetaObject.

Definition at line 60 of file doTriggerService.php.

Here is the call graph for this function:


Member Function Documentation

auditTrail ( argList ) [protected]

Audit trail

Parameters:
array$argList
Returns:
void

Definition at line 289 of file doTriggerService.php.

Here is the call graph for this function:

createInboxItem ( argList ) [protected]

Create inbox item

Parameters:
array$argList
Returns:
void

Definition at line 326 of file doTriggerService.php.

execute ( dataObj,
triggerType 
)

Execute trigger

Parameters:
BizDataObj$dataObj
<type>$triggerType
Returns:
void

Definition at line 94 of file doTriggerService.php.

Here is the call graph for this function:

executeAction ( triggerAction,
dataObj 
) [protected]

Execute action

Parameters:
TriggerAction$triggerAction
BizDataObj$dataObj
Returns:
void

Definition at line 161 of file doTriggerService.php.

Here is the call graph for this function:

Here is the caller graph for this function:

executeAllActions ( doTrigger,
dataObj 
) [protected]

Execute all action

Parameters:
DOTrigger$doTrigger
BizDataObj$dataObj
Returns:
void

Definition at line 112 of file doTriggerService.php.

Here is the call graph for this function:

Here is the caller graph for this function:

executeShell ( argList ) [protected]

Execute shell

Parameters:
array$argList
Returns:
void

Definition at line 221 of file doTriggerService.php.

executeSQL ( argList ) [protected]

Execute SQL

Parameters:
array$argList
Returns:
void

Definition at line 237 of file doTriggerService.php.

Here is the call graph for this function:

matchCondition ( doTrigger,
dataObj 
) [protected]

Match condition

Parameters:
DOTrigger$doTrigger
BizDataObj$dataObj
Returns:
boolean

Definition at line 130 of file doTriggerService.php.

Here is the call graph for this function:

Here is the caller graph for this function:

readMetadata ( &$  xmlArr ) [protected]

Read array meta data, and store to meta object

Parameters:
array$xmlArr
Returns:
void

Reimplemented from MetaObject.

Definition at line 72 of file doTriggerService.php.

Here is the call graph for this function:

Here is the caller graph for this function:

sendEmail ( argList ) [protected]

Send email

Parameters:
array$argList
Returns:
boolean|string if sending error return error messege, if success return true

Definition at line 260 of file doTriggerService.php.

Here is the call graph for this function:


The documentation for this class was generated from the following file: