![]() |
Maileon PHP client
1.5.0
Easily integrate your PHP application with Maileon.
|
Public Member Functions | |
__construct ($id=null, $name=null, $attributes=array(), $archivingDuration=null, $storeOnly=false, $description=null) | |
fromXML ($xmlElement) | |
toString () | |
toXML () | |
toXMLString () | |
![]() | |
fromXML ($xmlElement) | |
fromXMLString ($xmlString) | |
toXML () | |
toXMLString () | |
toString () | |
Public Attributes | |
$id | |
$name | |
$description | |
$attributes | |
$archivingDuration | |
Wrapper class for Maileon transaction types.
Definition at line 9 of file TransactionType.php.
com_maileon_api_transactions_TransactionType::__construct | ( | $id = null , |
|
$name = null , |
|||
$attributes = array() , |
|||
$archivingDuration = null , |
|||
$storeOnly = false , |
|||
$description = null |
|||
) |
Creates a new transaction type object.
string | $id | the ID of the transaction type |
string | $name | the name of the transaction type |
array | $attributes | an array of com_maileon_api_transactions_AttributeType attributes associated with the transaction |
integer | $archivingDuration | Archiving duration in days [1..n] after which the transaction events will be deleted, 0 and empty = forever (default) |
integer | $storeOnly | If nothing or false is specified, the limit for strings attributes of the transaction is set to 1000 characters and the transaction event can be used in any contactfilter, e.g. "give me all contacts that received contact event X with value Y in attribute Z". If storeOnly is set to true, the attributes of the transaction cannot be used as comparision inputs for contactfilters but the allowed length is raised to 64.000 characters. |
string | $description | the description of the transaction type |
Definition at line 61 of file TransactionType.php.
com_maileon_api_transactions_TransactionType::fromXML | ( | $xmlElement | ) |
Initializes this transaction type from an XML representation.
SimpleXMLElement | $xmlElement | the serialized XML representation to use |
Definition at line 83 of file TransactionType.php.
com_maileon_api_transactions_TransactionType::toString | ( | ) |
Definition at line 109 of file TransactionType.php.
com_maileon_api_transactions_TransactionType::toXML | ( | ) |
Definition at line 130 of file TransactionType.php.
com_maileon_api_transactions_TransactionType::toXMLString | ( | ) |
Definition at line 161 of file TransactionType.php.