Lines Matching refs:helper
65 foreach($this->builtinHelpers as $helper) {
66 $helperName = $this->underscoreToCamelCase($helper);
67 $this->add($helper, [$this, "helper{$helperName}"]);
76 foreach ($helpers as $name => $helper) {
77 $this->add($name, $helper);
86 * @param callable $helper a function as a helper
91 public function add($name, $helper) argument
93 if (!is_callable($helper)) {
96 $this->helpers[$name] = $helper;
144 * @param callable $helper a function as a helper
148 public function __set($name, $helper) argument
150 $this->add($name, $helper);