public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } if (!empty($xml->content)) { $this->content = \Kaltura\Client\ParseUtils::unmarshalObject($xml->content, "KalturaStringValue"); } }
public function __construct(\SimpleXMLElement $xml = null) { parent::__construct($xml); if (is_null($xml)) { return; } $this->apiObjectType = (string) $xml->apiObjectType; if (count($xml->format)) { $this->format = (int) $xml->format; } if (!empty($xml->ignoreNull)) { $this->ignoreNull = true; } $this->code = (string) $xml->code; }