class View implements View

Methods

void
addNamespace(string $sNamespace, string $sDirectory, string $sExtension = '')

Add a namespace to this view renderer

string
render(Store $store)

Render a view

Details

at line line 18
void addNamespace(string $sNamespace, string $sDirectory, string $sExtension = '')

Add a namespace to this view renderer

Parameters

string $sNamespace The namespace name
string $sDirectory The namespace directory
string $sExtension The extension to append to template names

Return Value

void

at line line 34
string render(Store $store)

Render a view

Parameters

Store $store A store populated with the view data

Return Value

string The string representation of the view