\NetCommonsAppView

Application View

Summary

Methods
Properties
Constants
No public methods found
No public properties found
No constants found
_render()
_renderElement()
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

_render()

_render(string  $viewFile, array  $data = array()) : string

Renders and returns output for given view filename with its array of data. Handles parent/extended views.

Parameters

string $viewFile

Filename of the view

array $data

Data to include in rendered view. If empty the current View::$viewVars will be used.

Throws

\CakeException

when a block is left open.

Returns

string —

Rendered output

_renderElement()

_renderElement(string  $file, array  $data, array  $options) : string

Renders an element and fires the before and afterRender callbacks for it and writes to the cache if a cache is used

Parameters

string $file

Element file path

array $data

Data to render

array $options

Element options

Returns

string