Exemplo n.º 1
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->keySeed = (string) $xml->keySeed;
 }
Exemplo n.º 2
0
 public function __construct(\SimpleXMLElement $xml = null)
 {
     parent::__construct($xml);
     if (is_null($xml)) {
         return;
     }
     $this->key = (string) $xml->key;
     $this->iv = (string) $xml->iv;
     $this->owner = (string) $xml->owner;
     $this->portal = (string) $xml->portal;
     if (count($xml->maxGop)) {
         $this->maxGop = (int) $xml->maxGop;
     }
     $this->regServerHost = (string) $xml->regServerHost;
 }