コード例 #1
0
function &optimize_args($arg_total)
{
    $ag = $arg_total;
    pure_args($ag);
    if (!isDrw($ag)) {
        $ag = (array) $ag;
    }
    return $ag;
}
コード例 #2
0
 function removeChild($nodes)
 {
     if (!$this->more()) {
         $a = func_get_args();
         $a = pure_args($a);
         if (isDrw($nodes)) {
             while (list($i_, $v_) = _each($nodes, $l)) {
                 $this->removeChild($v_);
             }
         } elseif (isEle($nodes)) {
             $this->O->removeChild($nodes);
         }
         while (list($i, $v) = _each($a, $k)) {
             $this->removeChild($v);
         }
     } else {
         foreach ($this->O as $v) {
             _($v)->removeChild(func_get_args());
         }
     }
     return $this;
 }