Lines Matching refs:Handlebars

22 ## About Handlebars
24 Handlebars provides the power necessary to let you build semantic templates effectively with no fru…
28 Fork of: [Handlebars.php by XaminProject](https://github.com/mardix/Handlebars)
30 Handlebars, is the PHP port of [Handlebars.js](http://handlebarsjs.com/)
34 ## Install Handlebars
37 You can just download Handlebars.php as is, or with Composer.
65 Handlebars templates look like regular HTML, with embedded handlebars expressions.
67 Handlebars HTML-escapes values returned by a {{expression}}.
84 Below we are going to create the Handlebars object, set the partials loader, and put some data in t…
91 # With composer we can autoload the Handlebars package
95 # require 'src/Handlebars/Autoloader.php';
96 # Handlebars\Autoloader::register();
98 use Handlebars\Handlebars;
99 use Handlebars\Loader\FilesystemLoader;
110 $handlebars = new Handlebars([
151 Use the method `Handlebars\Handlebars::render($template, $model)` to render you template once every…
203 Handlebars expressions are the basic unit of a Handlebars template. You can use them alone in a {{m…
206 The simplest Handlebars expression is a simple identifier:
214 Handlebars nested expressions which are dot-separated paths.
222 Handlebars nested expressions in an array.
230 Handlebars also allows for name conflict resolution between helpers and data fields via a this refe…
236 Handlebars expressions with a helper. In this case we're using the upper helper
253 Handlebars HTML-escapes values returned by a {{expression}}. If you don't want Handlebars to escape…
264 `if/else` and `unless` control structures are implemented as regular Handlebars helpers
268 …lock. If its argument returns false, null, "" or [] (a "falsy" value), Handlebars will not render …
451 ## Handlebars Built-in Helpers
495 #### For convenience, Voodoo\Handlebars added some extra helpers.
658 To create your own helper, use the method: `Handlebars::addHelper($name, $callback)`
680 In Handlebars JS v1.1, data variables `@first` and `@last` were added for the #each helper. Due to …
683 …ew data variables, set the `enableDataVariables` option to `true` when instantiating the Handlebars
687 $handlebars = new Handlebars([
746 $engine = new \Handlebars\Handlebars(array(
747 'loader' => new \Handlebars\Loader\StringLoader(),
748 'helpers' => new \Handlebars\Helpers(),
771 * Fork of [Handlebars.php by XaminProject](https://github.com/XaminProject/handlebars.php)