class Filesystem (View source)

Methods

create()

Creates everything necessary to store files in folders.

setDefaultPermissions(FileManager $tree)

No description

FileFolder|null
getFolder(mixed $folderID)

Get a folder given its ID.

FileFolder|null
getRootFolder()

Get the root folder.

addFolder(FileFolder $folder, string $name)

Create a new folder.

Details

FileManager create()

Creates everything necessary to store files in folders.

Return Value

FileManager

setDefaultPermissions(FileManager $tree)

No description

Parameters

FileManager $tree

FileFolder|null getFolder(mixed $folderID)

Get a folder given its ID.

Parameters

mixed $folderID

Return Value

FileFolder|null

FileFolder|null getRootFolder()

Get the root folder.

Return Value

FileFolder|null

FileFolder addFolder(FileFolder $folder, string $name)

Create a new folder.

Parameters

FileFolder $folder

The parent folder

string $name

The name of the new folder

Return Value

FileFolder