Table of Contents
Interfaces
- ControllerInterface
Properties
-
$filePath
: string
Methods
-
__construct()
: mixed
-
getPageData()
: array<string|int, mixed>
-
isFileSafe()
: bool
-
run()
: void
-
getMime()
: string
-
shouldForceDownload()
: bool
$filePath
private
string
$filePath
= ''
__construct()
public
__construct(string $className[, string $url = '' ]) : mixed
Parameters
-
$className
: string
-
-
$url
: string
= ''
-
getPageData()
public
getPageData() : array<string|int, mixed>
Return values
array<string|int, mixed>
isFileSafe()
public
static isFileSafe(string $filePath) : bool
Parameters
-
$filePath
: string
-
run()
public
run() : void
getMime()
private
getMime(string $filePath) : string
Parameters
-
$filePath
: string
-
shouldForceDownload()
private
shouldForceDownload(string $filePath) : bool
Parameters
-
$filePath
: string
-