Table Of ContentsPrevious topic< Class Phalcon\Mvc\View\Engine\Php Next topicClass Phalcon\Mvc\View\Engine\Volt\Compiler > This Page |
Class Phalcon\Mvc\View\Engine\Volt¶extends abstract class Phalcon\Mvc\View\Engine implements Phalcon\Di\InjectionAwareInterface, Phalcon\Events\EventsAwareInterface, Phalcon\Mvc\View\EngineInterface Designer friendly and fast template engine for PHP written in C Methods¶public setOptions (unknown $options) Set Volt’s options public array getOptions () Return Volt’s options public Phalcon\Mvc\View\Engine\Volt\Compiler getCompiler () Returns the Volt’s compiler public render (string $templatePath, array $params, [boolean $mustClean]) Renders a view using the template engine public int length (mixed $item) Length filter. If an array/object is passed a count is performed otherwise a strlen/mb_strlen public boolean isIncluded (unknown $needle, unknown $haystack) Checks if the needle is included in the haystack public string convertEncoding (unknown $text, unknown $from, unknown $to) Performs a string conversion public slice (unknown $value, unknown $start, [unknown $end]) Extracts a slice from a string/array/traversable object value public array sort (unknown $value) Sorts an array public __construct (unknown $view, [unknown $dependencyInjector]) inherited from Phalcon\Mvc\View\Engine Phalcon\Mvc\View\Engine constructor public string getContent () inherited from Phalcon\Mvc\View\Engine Returns cached ouput on another view stage public string partial (unknown $partialPath, [unknown $params]) inherited from Phalcon\Mvc\View\Engine Renders a partial inside another view public Phalcon\Mvc\ViewInterface getView () inherited from Phalcon\Mvc\View\Engine Returns the view component related to the adapter public setDI (unknown $dependencyInjector) inherited from Phalcon\Di\Injectable Sets the dependency injector public Phalcon\DiInterface getDI () inherited from Phalcon\Di\Injectable Returns the internal dependency injector public setEventsManager (unknown $eventsManager) inherited from Phalcon\Di\Injectable Sets the event manager public Phalcon\Events\ManagerInterface getEventsManager () inherited from Phalcon\Di\Injectable Returns the internal event manager public __get (unknown $propertyName) inherited from Phalcon\Di\Injectable Magic method __get |