|
@@ 310-320 (lines=11) @@
|
| 307 |
|
|
| 308 |
|
// Search in custom view helpers |
| 309 |
|
|
| 310 |
|
if (class_exists($customViewHelper)) { |
| 311 |
|
|
| 312 |
|
/** @var AbstractViewHelper $class */ |
| 313 |
|
$class = new $customViewHelper; |
| 314 |
|
$class->setView($this); |
| 315 |
|
|
| 316 |
|
//$this->viewHelpers[$customViewHelper] = $class; |
| 317 |
|
|
| 318 |
|
return $this->_callUserFuncArray($class, $arguments); |
| 319 |
|
|
| 320 |
|
} |
| 321 |
|
|
| 322 |
|
// No custom view helper found, search in core view helpers |
| 323 |
|
|
|
@@ 324-334 (lines=11) @@
|
| 321 |
|
|
| 322 |
|
// No custom view helper found, search in core view helpers |
| 323 |
|
|
| 324 |
|
if (class_exists($coreViewHelper)) { |
| 325 |
|
|
| 326 |
|
/** @var AbstractViewHelper $class */ |
| 327 |
|
$class = new $coreViewHelper; |
| 328 |
|
$class->setView($this); |
| 329 |
|
|
| 330 |
|
//$this->viewHelpers[$coreViewHelper] = $class; |
| 331 |
|
|
| 332 |
|
return $this->_callUserFuncArray($class, $arguments); |
| 333 |
|
|
| 334 |
|
} |
| 335 |
|
|
| 336 |
|
throw new ViewHelperException('No view helper for "' . $name . '" found.'); |
| 337 |
|
} |