/**
  * For developper use only
  */
 protected function load_destination()
 {
     $tmp = DH::findFirstElementOrCreate('destination', $this->xmlroot);
     $this->destination->load_from_domxml($tmp);
 }
 public function setNoSNAT()
 {
     $this->snattype = 'none';
     $this->snathosts->setAny();
     $this->rewriteSNAT_XML();
 }
 public function copy(AddressRuleContainer $other)
 {
     if ($other->count() == 0 && $this->count() != 0) {
         $this->removeAll();
     }
     foreach ($other->o as $member) {
         $this->addObject($member);
     }
 }