FileContainer
Table of Contents
Properties
-
$_path
: mixed
-
$_url
: mixed
Methods
-
__construct()
: mixed
-
create()
: bool
-
createDirectory()
: bool
-
exists()
: bool
-
fileExists()
: bool
-
generateFileName()
: string
-
getDirectories()
: mixed
-
getFilePath()
: string|null
-
getFiles()
: mixed
-
getFileUrl()
: string|null
-
getSubContainer()
: FileContainer|null
$_path
private
mixed
$_path
$_url
private
mixed
$_url
__construct()
public
__construct(mixed $path, mixed $url) : mixed
Parameters
-
$path
: mixed
-
-
$url
: mixed
-
create()
public
create() : bool
createDirectory()
public
createDirectory(mixed $name) : bool
Parameters
-
$name
: mixed
-
exists()
public
exists() : bool
fileExists()
public
fileExists(mixed $fileName) : bool
Parameters
-
$fileName
: mixed
-
generateFileName()
public
generateFileName([mixed $ext = null ]) : string
Parameters
-
$ext
: mixed
= null
-
getDirectories()
public
getDirectories() : mixed
getFilePath()
public
getFilePath(mixed $fileName[, mixed $checkExists = true ]) : string|null
Parameters
-
$fileName
: mixed
-
-
$checkExists
: mixed
= true
-
Return values
string|null
getFiles()
public
getFiles([array<string|int, mixed>|null $extFilter = null ]) : mixed
Parameters
-
$extFilter
: array<string|int, mixed>|null
= null
-
getFileUrl()
public
getFileUrl(mixed $fileName) : string|null
Parameters
-
$fileName
: mixed
-
Return values
string|null
getSubContainer()
public
getSubContainer(mixed $name) : FileContainer|null
Parameters
-
$name
: mixed
-