@@ 58-65 (lines=8) @@ | ||
55 | * @param $arguments |
|
56 | * @return bool|mixed |
|
57 | */ |
|
58 | public function __call($name, $arguments) |
|
59 | { |
|
60 | if ($name === ucfirst($name)) { |
|
61 | return $this->getHelper($name); |
|
62 | } |
|
63 | ||
64 | return trigger_error("Call to undefined method [$name] in controller [{$this->getClassName()}]", E_USER_ERROR); |
|
65 | } |
|
66 | ||
67 | /** |
|
68 | * @param $name |
@@ 38-46 (lines=9) @@ | ||
35 | * @param array $arguments |
|
36 | * @return mixed |
|
37 | */ |
|
38 | public function __call($name, $arguments) |
|
39 | { |
|
40 | if ($name === ucfirst($name)) { |
|
41 | return $this->getHelper($name); |
|
42 | } |
|
43 | ||
44 | trigger_error("Call to undefined method $name", E_USER_ERROR); |
|
45 | return null; |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @param $name |
@@ 38-46 (lines=9) @@ | ||
35 | * @param $arguments |
|
36 | * @return mixed|null |
|
37 | */ |
|
38 | public function __call($name, $arguments) |
|
39 | { |
|
40 | if ($name === ucfirst($name)) { |
|
41 | return $this->getHelper($name); |
|
42 | } else { |
|
43 | trigger_error("Call to undefined method $name", E_USER_ERROR); |
|
44 | } |
|
45 | return null; |
|
46 | } |
|
47 | ||
48 | /** |
|
49 | * @param $name |