Constructor & Destructor Documentation
__construct |
( |
$ |
db, |
|
|
$ |
user_id, |
|
|
$ |
type_id, |
|
|
$ |
archive = false , |
|
|
$ |
folder_id = null |
|
) |
| |
Constructs the object
- Parameters:
-
mMysql | $db | A database connection (used to read the folder's subfolders and items) |
string | $user_id | The user identifier |
string | $name | The name of the folder |
int | $type_id | The type identifier |
boolean | $archive | If set to true, display a folder from the archive [OPTIONAL] |
int | $folder_id | If set, display only this folder [OPTIONAL] public |
- Returns:
- void
Member Function Documentation
Returns the files of the current folder as an associative array
- Parameters:
-
int | $folder_id | The folder identifier public |
- Returns:
- array|boolean
Reimplemented from TreeFolder.
Returns the subfolders of the current folder as an associative array with all the subfolders
- Parameters:
-
int | $folder_id | The folder identifier public |
- Returns:
- array|boolean
Reimplemented from TreeFolder.
Field Documentation
$archive = false [protected] |
$folder_id = null [protected] |
The documentation for this class was generated from the following file: