| @@ 49-57 (lines=9) @@ | ||
| 46 | $this->setFileinfo(); |
|
| 47 | } |
|
| 48 | ||
| 49 | public function __fallback($method, $arguments) |
|
| 50 | { |
|
| 51 | $helper = $this->getParser()->getHelper(); |
|
| 52 | if (method_exists($helper, $method)) { |
|
| 53 | return call_user_func_array([$helper, $method], $arguments); |
|
| 54 | } else { |
|
| 55 | throw new Ajde_Exception('Call to undefined method '.get_class($this)."::$method()", 90006); |
|
| 56 | } |
|
| 57 | } |
|
| 58 | ||
| 59 | protected function getFileInfo() |
|
| 60 | { |
|
| @@ 40-48 (lines=9) @@ | ||
| 37 | } |
|
| 38 | } |
|
| 39 | ||
| 40 | public function __fallback($method, $arguments) |
|
| 41 | { |
|
| 42 | $helper = $this->getHelper(); |
|
| 43 | if (method_exists($helper, $method)) { |
|
| 44 | return call_user_func_array([$helper, $method], $arguments); |
|
| 45 | } else { |
|
| 46 | throw new Ajde_Exception('Call to undefined method '.get_class($this)."::$method()", 90006); |
|
| 47 | } |
|
| 48 | } |
|
| 49 | ||
| 50 | /** |
|
| 51 | * @return Ajde_Template_Parser_Phtml_Helper |
|