\Vegas\DI\Service\ComponentRenderer

Class Renderer

Summary

Methods
Properties
Constants
__construct()
setModuleName()
setTemplateName()
render()
No public properties found
No constants found
No protected methods found
$view
$moduleName
$templateName
N/A
No private methods found
No private properties found
N/A

Properties

$view

$view : \Phalcon\Mvc\View

View instance

Type

\Phalcon\Mvc\View

$moduleName

$moduleName : string

Name of module

Type

string

$templateName

$templateName : string

Name of template

Type

string

Methods

__construct()

__construct(\Phalcon\Mvc\View $view)

Constructor Sets view instance

Parameters

\Phalcon\Mvc\View $view

setModuleName()

setModuleName( $name) : $this

Sets name of template

Parameters

$name

Returns

$this

setTemplateName()

setTemplateName( $name) : $this

Sets name of module

Parameters

$name

Returns

$this

render()

render( $params) : string|void

Renders component's content from view

Parameters

$params

Returns

string|void