Lines Matching refs:template

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->setStopToken($node['name']);
247 $template->discard();
248 $template->setStopToken(false);
260 $template->setStopToken($token);
261 $buffer = $template->render($context);
262 $template->setStopToken(false);
263 $template->discard();
268 return $this->renderElse($template, $context);
272 return $this->renderElse($template, $context);
296 public function helperEach($template, $context, $args, $source) argument
307 return $this->renderElse($template, $context);
316 $tpl = clone $template;
321 if ($template->getEngine()->isDataVariablesEnabled()) {
333 if ($template->getEngine()->isDataVariablesEnabled()) {
349 if ($template->getEngine()->isDataVariablesEnabled()) {
356 return $this->renderElse($template, $context);
367 private function renderElse($template, $context) argument
369 $template->setStopToken('else');
370 $template->discard();
371 $template->setStopToken(false);
372 return $template->render($context);
391 public function helperUnless($template, $context, $args, $source) argument
395 $template->setStopToken('else');
396 $buffer = $template->render($context);
397 $template->setStopToken(false);
398 $template->discard();
401 return $this->renderElse($template, $context);
418 public function helperWith($template, $context, $args, $source) argument
422 $buffer = $template->render($context);
441 public function helperBindAttr($template, $context, $args, $source) argument
459 public function helperUpper($template, $context, $args, $source) argument
477 public function helperLower($template, $context, $args, $source) argument
495 public function helperCapitalize($template, $context, $args, $source) argument
513 public function helperCapitalizeWords($template, $context, $args, $source) argument
531 public function helperReverse($template, $context, $args, $source) argument
549 public function helperFormatDate($template, $context, $args, $source) argument
581 public function helperInflect($template, $context, $args, $source) argument
605 public function helperDefault($template, $context, $args, $source) argument
627 public function helperTruncate($template, $context, $args, $source) argument
653 public function helperRaw($template, $context, $args, $source) argument
674 public function helperRepeat($template, $context, $args, $source) argument
676 $buffer = $template->render($context);
703 public function helperDefine($template, $context, $args, $source) argument
705 $this->tpl["DEFINE"][$args] = clone($template);
730 public function helperInvoke($template, $context, $args, $source) argument