Constructor & Destructor Documentation
__construct |
( |
$ |
template_file, |
|
|
$ |
select_nodes = true , |
|
|
$ |
null_id = null |
|
) |
| |
Constructs the object
- Parameters:
-
string | $template_file | The template file to load |
boolean | $select_nodes | If true, select the nodes in the tree when clicking on them [OPTIONAL] |
string | $null_id | The tree id in case that the folder is null (we are searching for the folders without parent [OPTIONAL]) public |
- Returns:
- void
Reimplemented in CountryTree.
Member Function Documentation
folderHTML |
( |
$ |
name, |
|
|
$ |
folder_id, |
|
|
$ |
folder_type = null |
|
) |
| |
Generates the HTML tree for a given folder
- Parameters:
-
string | $name | The name of the folder |
int | $folder_id | The folder identifier |
string | $folder_type | The folder type [OPTIONAL] public |
- Returns:
- string
The documentation for this class was generated from the following file: