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 (count($xml->directoryRestrictionType)) {
         $this->directoryRestrictionType = (int) $xml->directoryRestrictionType;
     }
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->userAgentRestrictionType)) {
         $this->userAgentRestrictionType = (int) $xml->userAgentRestrictionType;
     }
     $this->userAgentRegexList = (string) $xml->userAgentRegexList;
 }
 public function __construct(SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     if (count($xml->limitFlavorsRestrictionType)) {
         $this->limitFlavorsRestrictionType = (int) $xml->limitFlavorsRestrictionType;
     }
     $this->flavorParamsIds = (string) $xml->flavorParamsIds;
 }