Documentation

View extends View
in package

Table of Contents

$app  : App
$resolvedInstance  : array<string|int, mixed>
__callStatic()  : mixed
clearResolvedInstances()  : mixed
clear
getBuffer()  :
getLayoutPage()  :
insertData()  :
json()  :
layout()  :
page()  :
path()  :
render()  :
response()  :
setFacadeApplication()  : mixed
{@inheritDoc}
setLayout()  :
getFacadeAccessor()  : string
getFacadeRoot()  : object|stdClass
resolveFacadeInstance()  : object

Properties

$resolvedInstance

protected static array<string|int, mixed> $resolvedInstance

Methods

__callStatic()

public static __callStatic( $method,  $args) : mixed
Parameters
$method :
$args :
Tags
throws
Exception
Return values
mixed

clearResolvedInstances()

clear

public static clearResolvedInstances() : mixed
Return values
mixed

getBuffer()

public static getBuffer(mixed $clear) :

Parameters
$clear : mixed
Return values

getLayoutPage()

public static getLayoutPage() :

Return values

insertData()

public static insertData(array<string|int, mixed> $data) :

Parameters
$data : array<string|int, mixed>
Return values

json()

public static json(mixed $data) :

Parameters
$data : mixed
Return values

layout()

public static layout(string $fileName, mixed $data) :

)

Parameters
$fileName : string
$data : mixed
Return values

page()

public static page(string $fileName, array<string|int, mixed> $data = array() :

)

Parameters
$fileName : string
$data = array( : array<string|int, mixed>
Return values

path()

public static path(string $filePath, mixed $data) :

, $ext = EXT)

Parameters
$filePath : string
$data : mixed
Return values

render()

public static render(int $code = 200, array<string|int, mixed> $headers = []) :

Parameters
$code = 200 : int
$headers = [] : array<string|int, mixed>
Return values

response()

public static response(int $code = 200, array<string|int, mixed> $headers = []) :

Parameters
$code = 200 : int
$headers = [] : array<string|int, mixed>
Return values

setFacadeApplication()

{@inheritDoc}

public static setFacadeApplication(App $app) : mixed
Parameters
$app : App
Return values
mixed

setLayout()

public static setLayout(string $layout) :

Parameters
$layout : string
Return values

getFacadeAccessor()

protected abstract static getFacadeAccessor() : string
Return values
string

getFacadeRoot()

protected static getFacadeRoot() : object|stdClass
Return values
object|stdClass

resolveFacadeInstance()

protected static resolveFacadeInstance(string $mainClass) : object
Parameters
$mainClass : string
Return values
object

Search results