\Econda\RecEngine\Widget\RendererHtmlRenderer

Base class for rendering a reccomendation widget

Summary

Methods
Properties
Constants
setTemplate()
getTemplate()
setTemplatePath()
getTemplatePath()
render()
__call()
setModel()
getModel()
No public properties found
No constants found
No protected methods found
$template
$templatePath
$model
N/A
No private methods found
No private properties found
N/A

Properties

$template

$template : string

Html code of template

Type

string

$templatePath

$templatePath : string

Path to template file. Ignored if template is set

Type

string

Methods

setTemplate()

setTemplate(mixed $template) : \Econda\RecEngine\Widget\Renderer\HtmlRenderer

Parameters

mixed $template

string or array of strings

Throws

\Econda\RecEngine\Exception\InvalidArgumentException

Returns

\Econda\RecEngine\Widget\Renderer\HtmlRenderer

getTemplate()

getTemplate() : string

Returns

string

getTemplatePath()

getTemplatePath() : string

Path to template

Returns

string

render()

render()

insert variables in template

__call()

__call(mixed $methodName, mixed $arguments) : mixed

Redirects functions calls to assigned model

Parameters

mixed $methodName
mixed $arguments

Returns

mixed