Class: FileRoot
Source Location: /blogs/inc/files/model/_fileroot.class.php
Class FileRoot
Class Overview
|
This class provides info about a File Root. A FileRoot describes a directory available for media file storage, under access permission. Located in /blogs/inc/files/model/_fileroot.class.php [line 39] |
[ Top ]
Property Summary
Method Summary
Methods
static method gen_ID [line 193]
|
| $root_type: | ||
| $root_in_type_ID: |
[ Top ]
Constructor FileRoot [line 85]
|
Constructor
Will fail if non existent User or Blog is requested. But specific access permissions on (threfore existence of) this User or Blog should have been tested before anyway.
Parameters:| string | $root_type: | Root type: 'user', 'group' or 'collection' |
| integer | $root_in_type_ID: | ID of the user, the group or the collection the file belongs to... |
| boolean | $create: | Create the directory, if it does not exist yet? |
[ Top ]
