예제 #1
0
 public function elementsNamed($name)
 {
     if ($this->_children === null) {
         throw new HException("bad nodetype");
     }
     return Lambda::filter($this->_children, array(new _hx_lambda(array(&$name), "Xml_0"), 'execute'))->iterator();
 }
예제 #2
0
 public function setParameter($param, $value)
 {
     $this->params = Lambda::filter($this->params, array(new _hx_lambda(array(&$param, &$value), "haxe_Http_3"), 'execute'));
     $this->params->push(_hx_anonymous(array("param" => $param, "value" => $value)));
     return $this;
 }