コード例 #1
0
 /**
  * @param $s Address|AddressGroup
  * @return bool
  */
 public function API_add($s)
 {
     $ret = $this->add($s);
     if ($ret) {
         $con = findConnectorOrDie($this);
         $xpath = $s->getXPath();
         $con->sendSetRequest($xpath, DH::domlist_to_xml($s->xmlroot->childNodes, -1, false));
     }
     return $ret;
 }
コード例 #2
0
 function &getChildXmlText_inline()
 {
     return DH::domlist_to_xml($this->xmlroot->childNodes, -1, false);
 }