Tariqa  3.0
 All Data Structures Namespaces Files Functions Variables Enumerations
FilesTree Class Reference
Inheritance diagram for FilesTree:
TreeFolder

Public Member Functions

 __construct ($upload_path, $recycle_bin_name, $tree_id, $root_folder, $can_upload=false)
 getSubFolders ($folder_id)
 getFiles ($folder_id)

Protected Attributes

 $can_upload = false
 $tree_id

Constructor & Destructor Documentation

__construct ( upload_path,
recycle_bin_name,
tree_id,
root_folder,
can_upload = false 
)

Constructs the object

Parameters:
string$upload_pathThe upload path
string$recycle_bin_nameThe name of the recycle bin folder
string$tree_idThe tree HTML identifier
string$root_folderThe base folder of the section
boolean$can_uploadIf true, then the current user can upload files [OPTIONAL] public
Returns:
void

Member Function Documentation

getFiles ( folder_id)

Returns the files of the current folder as an associative array

Parameters:
int$folder_idThe folder identifier public
Returns:
array|boolean

Reimplemented from TreeFolder.

getSubFolders ( folder_id)

Returns the subfolders of the current folder as an associative array with all the subfolders

Parameters:
int$continent_idThe continent identifier public
Returns:
array|boolean

Reimplemented from TreeFolder.


Field Documentation

$can_upload = false [protected]
$tree_id [protected]

The documentation for this class was generated from the following file: