src/XQueue/Maileon/API/Contacts/Contacts.php
function fromXML($xmlElement)
    {
        if ($xmlElement->getName() == "contacts") {
            foreach ($xmlElement->children() as $contactXml) {
                $contact = new Contact();
                $contact->fromXML($contactXml);
                $this->contacts[] = $contact;
            }
        }
    }
function fromXML($xmlElement)
    {
        if ($xmlElement->getName() == "contacts") {
            foreach ($xmlElement->children() as $contactXml) {
                $contact = new Contact();
                $contact->fromXML($contactXml);
                $this->contacts[] = $contact;
            }
        }
    }
Initialization of the contact from a simple xml element. NOT YET IMPLEMENTED.

@param SimpleXMLElement $xmlElement
The xml element that is used to parse the contact list from.