src/XQueue/Maileon/API/Reports/ReportContact.php
function fromXML($xmlElement)
    {
        parent::fromXML($xmlElement);

        if (isset($xmlElement->permissionType)) $this->permission = Permission::getPermission($xmlElement->permissionType);
        if (isset($xmlElement->field_backups)) $this->fieldBackups = XMLDeserializer::deserialize($xmlElement->field_backups);
    }
function fromXML($xmlElement)
    {
        parent::fromXML($xmlElement);

        if (isset($xmlElement->permissionType)) $this->permission = Permission::getPermission($xmlElement->permissionType);
        if (isset($xmlElement->field_backups)) $this->fieldBackups = XMLDeserializer::deserialize($xmlElement->field_backups);
    }
Initialization of the report contact from a simple xml element.

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