Class TreemapNode

Description

Creates a treemap graph, representing each node in a test visualization.

Located in /extensions/treemap_reporter/treemap_recorder.php (line 154)


	
			
Variable Summary
 mixed $_name
 mixed $_parent
 mixed $_size
 mixed $_status
Method Summary
 TreemapNode TreemapNode ( $name,  $description, [ $status = true])
 void compareChildren ( $a,  $b)
 void fail ()
 void getChildren ()
 string getDescription ()
 string getName ()
 void getSize ()
 string getStatus ()
 void getTotalSize ()
 void isFailed ()
 void isLeaf ()
 void putChild ( $node)
Variables
mixed $_description (line 156)
mixed $_name (line 155)
mixed $_parent (line 158)
mixed $_size (line 159)
mixed $_status (line 157)
Methods
Constructor TreemapNode (line 161)
TreemapNode TreemapNode ( $name,  $description, [ $status = true])
  • $name
  • $description
  • $status
compareChildren (line 200)

Comparator method to rank child nodes by total weight.

void compareChildren ( $a,  $b)
  • $a
  • $b
fail (line 237)

Fail this node.

void fail ()
getChildren (line 192)

Return list of child nodes from direct edges.

void getChildren ()
getDescription (line 178)
  • return: description of this node
string getDescription ()
getName (line 171)
  • return: label of this node
string getName ()
getSize (line 212)

Gets the number of immediate child edges from this node.

void getSize ()
getStatus (line 185)
  • return: status class string
string getStatus ()
getTotalSize (line 220)

depth first search to get the total number of nodes that are descendants of this node.

void getTotalSize ()
isFailed (line 242)

Is this node failed?

void isFailed ()
isLeaf (line 252)

Is this node a leaf node?

void isLeaf ()
putChild (line 247)

Add an edge to a child node

void putChild ( $node)
  • $node

Documentation generated on Sun, 04 May 2008 09:22:20 -0500 by phpDocumentor 1.3.0