Class CFW_Models_TreeNode

Description

Implements interfaces:

TreeNode基本実装

  • author: okada

Located in /Models/TreeNode.php (line 9)


	
			
Variable Summary
unknown_type $children
unknown_type $name
unknown_type $object
unknown_type $parent
Method Summary
unknown_type __construct ([unknown_type $name = ""])
void find ([ $path = array()])
void getChild ( $name)
void getChildren ()
void getName ()
void getParent ()
unknown_type isAncestorOf (CFW_Models_ITreeNode $node)
unknown_type isDescendantOf (CFW_Models_ITreeNode $node)
void path ()
void pathString ()
void setChildren ( $children)
void setName ( $name)
void setParent ( $parent)
Variables
unknown_type $children = array() (line 19)

子ノードのリスト

unknown_type $name (line 24)

このノードを識別する名称

unknown_type $object (line 29)

追加データ

unknown_type $parent (line 14)

親ノード

Methods
Constructor __construct (line 37)

構築.

識別名称を指定する

  • access: public
unknown_type __construct ([unknown_type $name = ""])
  • unknown_type $name: 識別名称.重複不可
appendChild (line 87)

(non-PHPdoc)

  • see: appendChild($node)
  • access: public
void appendChild (CFW_Models_ITreeNode $node)

Implementation of:
CFW_Models_ITreeNode::appendChild()
子要素を追加する
find (line 151)
  • access: public
void find ([ $path = array()])
  • $path

Implementation of:
CFW_Models_ITreeNode::find()
指定パスのノードを見つける
getChild (line 82)

(non-PHPdoc)

  • see: getChild($name)
void getChild ( $name)
  • $name

Implementation of:
CFW_Models_ITreeNode::getChild()
getChildren (line 72)

(non-PHPdoc)

  • see: getChildren()
void getChildren ()

Implementation of:
CFW_Models_ITreeNode::getChildren()
getName (line 44)

(non-PHPdoc)

  • see: getName()
  • access: public
void getName ()

Implementation of:
CFW_Models_ITreeNode::getName()
getParent (line 58)

(non-PHPdoc)

  • see: getParent()
  • access: public
void getParent ()

Implementation of:
CFW_Models_ITreeNode::getParent()
isAncestorOf (line 104)

このオブジェクトが指定ノードの先祖かどうか

  • access: public
unknown_type isAncestorOf (CFW_Models_ITreeNode $node)

Implementation of:
CFW_Models_ITreeNode::isAncestorOf()
このオブジェクトが指定ノードの先祖かどうか
isDescendantOf (line 121)

このオブジェクトが指定ノードの子孫かどうか

  • access: public
unknown_type isDescendantOf (CFW_Models_ITreeNode $node)

Implementation of:
CFW_Models_ITreeNode::isDescendantOf()
このオブジェクトが指定ノードの子孫かどうか
path (line 137)
  • access: public
void path ()

Implementation of:
CFW_Models_ITreeNode::path()
パスを配列で返す
pathString (line 127)
  • access: public
void pathString ()

Implementation of:
CFW_Models_ITreeNode::pathString()
パスを文字列として表現する
removeChilde (line 95)

(non-PHPdoc)

  • see: removeChilde($node)
  • access: public
void removeChilde (CFW_Models_ITreeNode $node)

Implementation of:
CFW_Models_ITreeNode::removeChilde()
子要素を削除する
setChildren (line 77)

(non-PHPdoc)

  • see: setChildren($children)
void setChildren ( $children)
  • $children

Implementation of:
CFW_Models_ITreeNode::setChildren()
setName (line 51)

(non-PHPdoc)

  • see: setName($name)
  • access: public
void setName ( $name)
  • $name

Implementation of:
CFW_Models_ITreeNode::setName()
setParent (line 65)

(non-PHPdoc)

  • see: setParent($parent)
  • access: public
void setParent ( $parent)
  • $parent

Implementation of:
CFW_Models_ITreeNode::setParent()

Documentation generated on Fri, 25 Dec 2009 22:46:24 +0900 by phpDocumentor 1.4.3