@@ 515-522 (lines=8) @@ | ||
512 | * |
|
513 | * @return void |
|
514 | */ |
|
515 | public function collapseAll() |
|
516 | { |
|
517 | for ($i = 0; $i < count($this->treeTab); $i++) { |
|
518 | if ($this->treeTab[$i]["symbol"] == "minus") { |
|
519 | $this->treeTab[$i]["symbol"] = "plus"; |
|
520 | } |
|
521 | } |
|
522 | } |
|
523 | ||
524 | /** |
|
525 | * expand the node $id |
|
@@ 559-566 (lines=8) @@ | ||
556 | * |
|
557 | * @return void |
|
558 | */ |
|
559 | public function expandAll() |
|
560 | { |
|
561 | for ($i = 0; $i < count($this->treeTab); $i++) { |
|
562 | if ($this->treeTab[$i]["symbol"] == "plus") { |
|
563 | $this->treeTab[$i]["symbol"] = "minus"; |
|
564 | } |
|
565 | } |
|
566 | } |
|
567 | ||
568 | /** |
|
569 | * Total height of the expanded tree |