コード例 #1
0
ファイル: Facade.class.php プロジェクト: evilgeny/bob
 /**
  * Returns Node by path
  *
  * @param 	string $path
  * @return 	RM_Ajax_Node
  */
 public function loadByPath($path)
 {
     return $this->_header->loadByPath($path);
 }
コード例 #2
0
ファイル: Node.class.php プロジェクト: evilgeny/bob
 /**
  * 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;
 }
コード例 #3
0
ファイル: Eatlas.class.php プロジェクト: evilgeny/bob
 protected function _addNode($name, $value)
 {
     if ($value) {
         $this->_root->addNode($name, array(array("__CDATA__" => $value)));
     }
 }