Lines Matching refs:to

24 Handlebars provides the power necessary to let you build semantic templates effectively with no frustration,
59 At the minimum, we are required to have an array model and a template string. Alternatively we can have a file containing handlebars (or html, text, etc) expression.
78 The string above can be used as is in your PHP file, or be put in a file (ie: */templates/main.tpl*), to be called upon rendering.
82 Now the we've created our template file, in a php file (index.php) we'll create the data to passed to the model. The model is a key/value array.
84 Below we are going to create the Handlebars object, set the partials loader, and put some data in the model.
115 # Will render the model to the templates/main.tpl template
122 The simplest way to assign data is to create an Array model. The model will contain all the data that will be passed to the template.
151 Use the method `Handlebars\Handlebars::render($template, $model)` to render you template once everything is created.
157 The code below will render the model to the *templates/main.tpl* template
203 Handlebars expressions are the basic unit of a Handlebars template. You can use them alone in a {{mustache}}, pass them to a Handlebars helper, or use them as values in hash arguments.
253 Handlebars HTML-escapes values returned by a {{expression}}. If you don't want Handlebars to escape a value, use the "triple-stash", {{{ }}}
268 You can use the if helper to conditionally render a block. If its argument returns false, null, "" or [] (a "falsy" value), Handlebars will not render the block.
306 You can iterate over a list using the built-in each helper. Inside the block, you can use {{this}} or {{.}} to reference the element being iterated over.
379 The #each helper (php only) also has the ability to slice the data
501 To format string to uppercase
508 To format string to lowercase
600 Allow to define a block of content and use it later. It helps follow the DRY (Don't repeat yourself) principle.
656 Block helpers make it possible to define custom iterators and other helpers that can invoke the passed block with a new context.
680 In Handlebars JS v1.1, data variables `@first` and `@last` were added for the #each helper. Due to the these variables
683 To enable the new data variables, set the `enableDataVariables` option to `true` when instantiating the Handlebars