Phalcon\Mvc\View\ModelInterface initializer
abstract public Phalcon\Mvc\View\ModelInterface setTemplate (string $template)
Set the template to be used by this model
abstract public string getTemplate ()
Get the template to be used by this model
abstract public Phalcon\Mvc\View\ModelInterface setVars (array $params, [boolean $merge])
Set all the render params
abstract public getVars ()
...
abstract public Phalcon\Mvc\View\ModelInterface setVar (string $key, mixed $value)
Set a single view parameter
abstract public getVar (unknown $key, [unknown $default_value])
...
abstract public Phalcon\Mvc\View\ModelInterface addChild (unknown $viewmodel, [unknown $name], [unknown $append])
Add a child model
abstract public Phalcon\Mvc\View\ModelInterface appendChild (unknown $viewmodel, [unknown $name])
Add a child model
abstract public array getChild (unknown $name)
Return a child model or all child model
abstract public boolean hasChild ()
Does the model have any children?
abstract public Phalcon\Mvc\View\ModelInterface setCaptureTo (string $capture)
Set the name of the variable to capture this model to, if it is a child model
abstract public string getCaptureTo ()
Get the name of the variable to which to capture this model
abstract public Phalcon\Mvc\View\ModelInterface setTerminal (boolean $terminate)
Set flag indicating whether or not this is considered a terminal or standalone model
abstract public boolean getTerminal ()
Is this considered a terminal or standalone model?
abstract public Phalcon\Mvc\View\ModelInterface setAppend (unknown $append)
Set the view
abstract public boolean isAppend ()
Is this append to child with the same capture?
abstract public setView (unknown $view)
...
abstract public Phalcon\Mvc\ViewInterface getView ()
Get the view
abstract public string render ()
Renders the view