H A D | Helpers.php | 215 * @param \Handlebars\Template $template template that is being rendered 218 * @param string $source part of template that is wrapped 223 public function helperIf($template, $context, $args, $source) argument 225 $tpl = $template->getEngine()->loadString('{{#if ' . $args . '}}' . $source . '{{/if}}'); 237 $template->setStopToken($token); 238 $buffer = $template->render($context); 239 $template->setStopToken(false); 240 $template->discard(); 246 $template 296 helperEach($template, $context, $args, $source) global() argument 367 renderElse($template, $context) global() argument 391 helperUnless($template, $context, $args, $source) global() argument 418 helperWith($template, $context, $args, $source) global() argument 441 helperBindAttr($template, $context, $args, $source) global() argument 459 helperUpper($template, $context, $args, $source) global() argument 477 helperLower($template, $context, $args, $source) global() argument 495 helperCapitalize($template, $context, $args, $source) global() argument 513 helperCapitalizeWords($template, $context, $args, $source) global() argument 531 helperReverse($template, $context, $args, $source) global() argument 549 helperFormatDate($template, $context, $args, $source) global() argument 581 helperInflect($template, $context, $args, $source) global() argument 605 helperDefault($template, $context, $args, $source) global() argument 627 helperTruncate($template, $context, $args, $source) global() argument 653 helperRaw($template, $context, $args, $source) global() argument 674 helperRepeat($template, $context, $args, $source) global() argument 703 helperDefine($template, $context, $args, $source) global() argument 730 helperInvoke($template, $context, $args, $source) global() argument [all...] |