H A D | Helpers.php | 217 * @param array $args passed arguments to helper 223 public function helperIf($template, $context, $args, $source) argument 225 $tpl = $template->getEngine()->loadString('{{#if ' . $args . '}}' . $source . '{{/if}}'); 227 $tmp = $context->get($args); 249 $args = $this->parseArgs($context, substr($name, 7)); 259 if (isset($args[0]) && $args[0]) { 290 * @param array $args passed arguments to helper 296 public function helperEach($template, $context, $args, $source) argument 298 list($keyname, $slice_start, $slice_end) = $this->extractSlice($args); 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 784 parseArgs($context, $args) global() argument [all...] |