Maileon PHP client  1.5.0
Easily integrate your PHP application with Maileon.
com_maileon_api_targetgroups_TargetGroup Class Reference
Inheritance diagram for com_maileon_api_targetgroups_TargetGroup:
com_maileon_api_xml_AbstractXMLWrapper

Public Member Functions

 __construct ($id=0, $name="", $author="", $state="", $type="", $contactFilterName="", $contactFilterId=0, $evaluated="1970-01-01 00:00:00", $created="1970-01-01 00:00:00", $updated="1970-01-01 00:00:00", $countActiveContacts=0, $countContacts=0)
 
 fromXML ($xmlElement)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 
- Public Member Functions inherited from com_maileon_api_xml_AbstractXMLWrapper
 fromXML ($xmlElement)
 
 fromXMLString ($xmlString)
 
 toXML ()
 
 toXMLString ()
 
 toString ()
 

Public Attributes

 $id
 
 $name
 
 $author
 
 $state
 
 $type
 
 $contactFilterName
 
 $contactFilterId
 
 $evaluated
 
 $created
 
 $updated
 
 $countActiveContacts
 
 $countContacts
 

Detailed Description

The wrapper class for a Maileon target group.

Definition at line 6 of file TargetGroup.php.

Constructor & Destructor Documentation

com_maileon_api_targetgroups_TargetGroup::__construct (   $id = 0,
  $name = "",
  $author = "",
  $state = "",
  $type = "",
  $contactFilterName = "",
  $contactFilterId = 0,
  $evaluated = "1970-01-01 00:00:00",
  $created = "1970-01-01 00:00:00",
  $updated = "1970-01-01 00:00:00",
  $countActiveContacts = 0,
  $countContacts = 0 
)

Creates a new target group wrapper object.

Parameters
number$id
string$name
string$author
string$state
string$type
string$contactFilterName
number$contactFilterId
string$evaluated
string$created
string$updated
number$countActiveContacts
number$countContacts

Definition at line 38 of file TargetGroup.php.

Member Function Documentation

com_maileon_api_targetgroups_TargetGroup::fromXML (   $xmlElement)

Initializes this target group from an XML representation.

Parameters
SimpleXMLElement$xmlElementthe XML representation to use

Definition at line 72 of file TargetGroup.php.

com_maileon_api_targetgroups_TargetGroup::toXML ( )
Returns
SimpleXMLElement containing the serialized representation of this target group

Definition at line 94 of file TargetGroup.php.

com_maileon_api_targetgroups_TargetGroup::toXMLString ( )

Serialization to a simple XML element as string

Returns
string The string representation of the XML document.

Definition at line 120 of file TargetGroup.php.

com_maileon_api_targetgroups_TargetGroup::toString ( )
Returns
string containing a human-readable representation of this target group

Definition at line 130 of file TargetGroup.php.


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