Maileon PHP client  1.5.5
Easily integrate your PHP application with Maileon.
com_maileon_api_contactfilters_Rule Class Reference

Public Member Functions

 __construct ($isCustomfield, $field, $operator, $value, $type="string")
 
 toString ()
 

Public Attributes

 $isCustomfield
 
 $field
 
 $operator
 
 $value
 
 $type
 

Detailed Description

The wrapper class for a contact filter rule

Author
Marcus Ständer | Trusted Mails GmbH | marcus.staender@trusted-mails.com

Definition at line 8 of file Rule.php.

Constructor & Destructor Documentation

com_maileon_api_contactfilters_Rule::__construct (   $isCustomfield,
  $field,
  $operator,
  $value,
  $type = "string" 
)

Constructor initializing rule

Parameters
bool$isCustomfield
string$field
string$operatorThe operator that should be used. Best: use EQUALS, then STARTS_WITH, then, if not possible with these, use others. Valid: EQUALS, NOTEQUALS, CONTAINS, NOTCONTAINS, STARTS_WITH
string$value

Definition at line 25 of file Rule.php.

Member Function Documentation

com_maileon_api_contactfilters_Rule::toString ( )

Human readable representation of this rule.

Returns
string A human readable version of the rule.

Definition at line 40 of file Rule.php.


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