Exemplo n.º 1
0
 /**
  * Returns Node by path
  *
  * @param 	string $path
  * @return 	RM_Ajax_Node
  */
 public function loadByPath($path)
 {
     return $this->_header->loadByPath($path);
 }
Exemplo n.º 2
0
 /**
  * Returns path to current node. Nodes are separated by dots.
  *
  * @return 		string
  */
 public function _path()
 {
     return isNull($this->_parent) ? $this->_name : $this->_parent->_path() . '.' . $this->_name;
 }
Exemplo n.º 3
0
 protected function _addNode($name, $value)
 {
     if ($value) {
         $this->_root->addNode($name, array(array("__CDATA__" => $value)));
     }
 }