Event fires when a sale has been unpaid for a certain number of days.

Class Methods

The following methods can be invoked on instances of this class.

eventGetTitle()

eventInitialize(mixed arrAutomation, mixed arrRegisterVariables)

cronGetSchedule(mixed iAutomationId)

runCron(int iAutomationId)

Triggers the Automation

eventGetIsCronDriven()

cacheFlush()

Flushes the test conditiions stored in the static cache

eventGetConfigForm()

Returns a form for configuring the event

eventGetEmailTemplate()

Return the email template for this Event, if it exists.
The template must be called 'email_template.xml', and exist in the '_resources' directory for the Automation class.

eventGetSMSTemplate()

Return the SMS template for this event, if it exists. The template must
be called 'sms_template.xml', and exist in the '_resources' directory for the Automation class.

conditionGetTitle()

Returns the title of the condition

conditionGetDescription(mixed arrConfiguration, bool bNegation)

Returns the description of the specific condition.

conditionGetConfigForm()

Returns a form for configuring the condition

conditionTest(mixed arrConfiguration, mixed iContactId)

Tests whether a particular contact meets this condition.

conditionGetSubQuery(mixed arrConfiguration, mixed iContactId)

Returns a sub query for a configuration set to return all contacts that match the condition.
Optionally specify a contact ID to effectively test whether a particular contact meets the condition.

actionGetTitle()

Returns the title of the action

actionGetTitleForAutomationStep(array arrAutomationStep)

Returns the title of the action from a configured automation step

actionGetConfigForm()

Returns a form for configuring the action

actionExecute(mixed arrStep, mixed bActionFailed, mixed strActionResult, mixed bActionHaltExecution, mixed iActionReschedule)

Executes the action

componentIsInstalled()

Determines if a specific component is installed

componentGetEntityType(mixed arrEntity)

Returns the type of entity handled by the component

componentGetEntityIcon()

Retrieves the default icon path for the component entities

install()

Installs the component

uninstall()

Uninstalls the component

eventGetHandlers()

Returns a set of event handlers for this component

eventTrigger(mixed strEvent, array arrEventParams)

Triggers a component event

securityOperationsGetAll()

Returns a set of security operations for this component

configGetAll(array arrProperties)

Retrieves all config items for the component

configGetAllValues(array arrProperties)

Retrieves all config items for the component in a item_id => item_value fashion

configGetValue(string strConfigId)

Retrieves the value of a config item for the current component

configSaveValue(mixed strConfigId, mixed strValue, string strReason)

Saves the value of a config item for the current component

uiGetActions(mixed bInList, bool bInEdit)

Returns an array of user interface actions for the component

__call(mixed strName, array arrArguments)

Magic function to trap calls to undefined functions and throw an exception rather than
a fatal error.

__callStatic(mixed strName, array arrArguments)

Magic function to trap static calls to undefined functions and throw an exception rather
than a fatal error.

classGetFolder()

Returns the folder where the class exists

__set_state(mixed arrValues)

classGetFolderResources()

Returns the folder where the class's resources exist

classGetSrcFile()

Returns the folder where the class exists

classGetSrcHash()

Returns the folder where the class exists

classGetReflection()

Returns the reflection data for the current class

classGetReflectionAnnotation(string strField)

Returns a specific class annotation for the current class