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