Documentation

FileContainer
in package

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

Properties

Methods

__construct()

public __construct(mixed $path, mixed $url) : mixed
Parameters
$path : mixed
$url : mixed

createDirectory()

public createDirectory(mixed $name) : bool
Parameters
$name : mixed
Return values
bool

fileExists()

public fileExists(mixed $fileName) : bool
Parameters
$fileName : mixed
Return values
bool

generateFileName()

public generateFileName([mixed $ext = null ]) : string
Parameters
$ext : mixed = null
Return values
string

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

        
On this page

Search results