Cts_Filesystem

Summary
Cts_Filesystem
AuthorJaybill McCarthy
Licensehttp://communit.as/docs/license
Static Methods
getPathConcatenates the provided username into a valid path for either uploads or user cache.
SureRemoveDirTBD

Author

Jaybill McCarthy

Static Methods

getPath

static function getPath($pathtype,
$username)

Concatenates the provided username into a valid path for either uploads or user cache.

Arguments

pathtypeA string, either ‘userupload’ or ‘usercache’, to decide which path to return.
usernameThe username to concatenate into the path.

Returns

A string containing the desired path containing the given username.

SureRemoveDir

static function SureRemoveDir($dir,
$DeleteMe)

TBD

Arguments

dirTBD
DeleteMeTBD
static function getPath($pathtype,
$username)
Concatenates the provided username into a valid path for either uploads or user cache.
static function SureRemoveDir($dir,
$DeleteMe)
TBD
Close