protected function _initXml(RM_Map_iEngine $engine) { foreach ($engine->map() as $k => $v) { $this->_addNode($k, M('Tools')->misc()->value($engine, $v)); } return $this->_valuesToGet; }
protected function _initXml(RM_Map_iEngine $engine) { M('Ajax')->clear(); $this->_root = M('Ajax')->init('req'); foreach ($engine->map() as $k => $v) { $this->_addNode($k, M('Tools')->misc()->value($engine, $v)); } $xml = M('Ajax')->getXML(); return trim(preg_replace("/<\\?[^\\?]+\\?>\\s*/", '', $xml)); }