Tree Tree(
[String
$path = ''], [String
$text = ''], [String
$width = ''], [String
$class = '']
)
|
|
Constructor
Parameters:
|
String |
$path: |
The path to use for the tree |
|
String |
$text: |
The text of the table header |
|
String |
$width: |
The width of the table header |
|
String |
$class: |
The CSS class to use |
Node buildNode(
String
$path, [int
$level = 0]
)
|
|
Build the tree
Parameters:
|
String |
$path: |
The path to build |
|
int |
$level: |
The level of the node |
API Tags:
| Return: | The Node to be build |
void display(
[String
$path = ''], [String
$text = ''], [String
$width = ''], [String
$class = '']
)
|
|
Display html
Parameters:
|
String |
$path: |
The path to use for the tree |
|
String |
$text: |
The text of the table header |
|
String |
$width: |
The width of the table header |
|
String |
$class: |
The CSS class to use |
API Tags:
Redefinition of:
- Html::display()
- Display the html
Get the html for the whole tree and all its nodes
API Tags:
Redefinition of:
- Html::getHtml()
- Get Html