public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->info = (string) $xml->info; }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->changedItems)) { $this->changedItems = array(); } else { $this->changedItems = Kaltura_Client_ParseUtils::unmarshalArray($xml->changedItems, "KalturaAuditTrailChangeItem"); } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (empty($xml->changedItems)) { $this->changedItems = array(); } else { $this->changedItems = Kaltura_Client_Client::unmarshalItem($xml->changedItems); } }
public function __construct(SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->version = (string) $xml->version; if (count($xml->objectSubType)) { $this->objectSubType = (int) $xml->objectSubType; } if (count($xml->dc)) { $this->dc = (int) $xml->dc; } if (!empty($xml->original)) { $this->original = true; } if (count($xml->fileType)) { $this->fileType = (int) $xml->fileType; } }