Sales - Has purchased products

Class Methods

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

conditionGetTitle()

conditionGetDescription(mixed arrConfiguration, mixed bNegation)

conditionGetSubQuery(mixed arrConfiguration, mixed iContactId, mixed iSaleId)

paymentStatusDescription(array arrConfiguration)

Return a snippet of condition description describing whether someone has paid
or not paid for a product.

timeFrameDescription(mixed arrConfiguration)

Return a snippet of condition description describing the time period of which this
condition applies.

purchaseAmountDescription(mixed arrConfiguration)

Return a snippet of condition description describing the amount of money the contacts
must have spent on the selected products to meet the condition.

cacheFlush()

Flushes the test conditiions stored in the static cache

eventGetTitle()

Returns the title of the event

eventGetConfigForm()

Returns a form for configuring the event

eventGetIsCronDriven()

Returns whether or not the event is cron job driven

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.

eventInitialize(mixed arrAutomation, mixed arrRegisterVariables)

Called before any step is executed in the automation, allowing initialization to occur.

conditionGetConfigForm()

Returns a form for configuring the condition

conditionTest(mixed arrConfiguration, mixed iContactId)

Tests whether a particular contact meets this 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