예제 #1
0
 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;
 }
예제 #2
0
 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));
 }