Mvc\ViewBaseInterface::getParamsToView

abstract public getParamsToView () ...

Mvc\ViewBaseInterface

Source on GitHub Methods abstract public setViewsDir (mixed $viewsDir) ... abstract public getViewsDir () ... abstract public setParamToView (mixed $key, mixed $value) ... abstract public setVar (mixed $key, mixed $value) ... abstract public getParamsToView () ... abstract public getCache () ... abstract public cache ([mixed $options]) ... abstract public setContent (mixed $content) ... abstract public getContent () ... abstract public partial (mixed $partialPath, [mixed $params]) ...

Mvc\ViewBaseInterface::getViewsDir

abstract public getViewsDir () ...

Mvc\ViewBaseInterface::setContent

abstract public setContent (mixed $content) ...

Mvc\View::setVars

public setVars (array $params, [mixed $merge]) Set all the render params $this->view->setVars(['products' => $products]);

Mvc\View::setViewsDir

public setViewsDir (mixed $viewsDir) Sets the views directory. Depending of your platform, always add a trailing slash or backslash

Mvc\View::setVar

public setVar (mixed $key, mixed $value) Set a single view parameter $this->view->setVar('products', $products);

Mvc\View::__get

public __get (mixed $key) Magic method to retrieve a variable passed to the view echo $this->view->products;

Mvc\View::__set

public __set (mixed $key, mixed $value) Magic method to pass variables to the views $this->view->products = $products;

Mvc\View::start

public start () Starts rendering process enabling the output buffering