\Anax\PagePage

A default page rendering class.

Summary

Methods
Properties
Constants
setDI()
render()
No public properties found
No constants found
No protected methods found
$di
N/A
No private methods found
No private properties found
N/A

Properties

$di

$di : \Anax\DI\Anax\DI\DIInterface

Type

\Anax\DI\Anax\DI\DIInterface — the DI service container.

Methods

setDI()

setDI(\Anax\DI\Anax\DI\DIInterface  $di) : self

Set the service container to use

Parameters

\Anax\DI\Anax\DI\DIInterface $di

a service container

Returns

self

render()

render(array  $data, integer  $status = 200) : void

Render a standard web page using a specific layout.

Parameters

array $data

variables to expose to layout view.

integer $status

code to use when delivering the result.