Mvc\View\Simple::getCacheOptions

public array getCacheOptions () Returns the cache options

Mvc\View\Engine\Volt\Compiler::setOptions

public setOptions (array $options) Sets the compiler options

Mvc\View\Simple

extends abstract class Phalcon\Di\Injectable implements Phalcon\Events\EventsAwareInterface, Phalcon\Di\InjectionAwareInterface, Phalcon\Mvc\ViewBaseInterface Source on GitHub This component allows to render views without hierarchical levels use Phalcon\Mvc\View\Simple as View; $view = new View(); // Render a view echo $view->render('templates/my-view', ['some' => $param]); // Or with filename with extension echo $view->render('templates/my-view.volt', ['parameter' => $here]

Mvc\View\Engine\Volt\Compiler::setUniquePrefix

public setUniquePrefix (mixed $prefix) Set a unique prefix to be used as prefix for compiled variables

Mvc\View\Engine\Volt\Exception

extends class Phalcon\Mvc\View\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception

Mvc\View\Exception

extends class Phalcon\Exception implements Throwable Source on GitHub Methods final private Exception __clone () inherited from Exception Clone the exception public __construct ([string $message], [int $code], [Exception $previous]) inherited from Exception Exception constructor public __wakeup () inherited from Exception ... final public string getMessage () inherited from Exception Gets the Exception message final public int getCode () inherited from Exception Gets the Exception code fin

Mvc\View\Engine\Volt\Compiler::setOption

public setOption (string $option, mixed $value) Sets a single compiler option

Mvc\View\Engine\Volt\Compiler::resolveTest

public resolveTest (array $test, mixed $left) Resolves filter intermediate code into a valid PHP expression

Mvc\View\Engine\Volt\Compiler::setDI

public setDI (Phalcon\DiInterface $dependencyInjector) Sets the dependency injector

Mvc\View\Engine\Volt\Compiler::getOptions

public getOptions () Returns the compiler options