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