\hhu\z\viewsQuesttypeView

Abstract class for implementing a QuesttypeView.

Class to encapsulate a template file and to provide rendering methods.

Summary

Methods
Properties
Constants
loadAndFactory()
render()
getTemplateFilename()
No public properties found
No constants found
__construct()
$templateFilename
N/A
No private methods found
No private properties found
N/A

Properties

$templateFilename

$templateFilename : string

Template filename

Type

string

Methods

loadAndFactory()

loadAndFactory(string  $layoutName, string  $agentName = null, string  $action = null, boolean  $isToplevel = false) 

Load and instantiate the QuesttypeView of a QuesttypeAgent.

Parameters

string $layoutName

Name of Layout in use

string $agentName

Name of the Agent

string $action

Current Action

boolean $isToplevel

Agent is a ToplevelAgent

Throws

\nre\exceptions\ViewNotFoundException

render()

render(array  $data) 

Generate output

Parameters

array $data

Data to have available in the template file

getTemplateFilename()

getTemplateFilename() : string

Get template filename.

Returns

string —

Template filename

__construct()

__construct(string  $layoutName, string  $agentName = null, string  $action = null, boolean  $isToplevel = false) 

Construct a new QuesttypeView.

Parameters

string $layoutName

Name of Layout in use

string $agentName

Name of the Agent

string $action

Current Action

boolean $isToplevel

Agent is a ToplevelAgent

Throws

\nre\exceptions\ViewNotFoundException