| @@ 162-169 (lines=8) @@ | ||
| 159 | return $retVal; |
|
| 160 | } |
|
| 161 | ||
| 162 | public function hasMethod($action) |
|
| 163 | { |
|
| 164 | if (parent::hasMethod($action)) { |
|
| 165 | return true; |
|
| 166 | } |
|
| 167 | ||
| 168 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 169 | return $controller->hasMethod($action); |
|
| 170 | } |
|
| 171 | ||
| 172 | public function hasAction($action) |
|
| @@ 172-179 (lines=8) @@ | ||
| 169 | return $controller->hasMethod($action); |
|
| 170 | } |
|
| 171 | ||
| 172 | public function hasAction($action) |
|
| 173 | { |
|
| 174 | if (parent::hasAction($action)) { |
|
| 175 | return true; |
|
| 176 | } |
|
| 177 | ||
| 178 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 179 | return $controller->hasAction($action); |
|
| 180 | } |
|
| 181 | ||
| 182 | public function checkAccessAction($action) |
|
| @@ 182-189 (lines=8) @@ | ||
| 179 | return $controller->hasAction($action); |
|
| 180 | } |
|
| 181 | ||
| 182 | public function checkAccessAction($action) |
|
| 183 | { |
|
| 184 | if (parent::checkAccessAction($action)) { |
|
| 185 | return true; |
|
| 186 | } |
|
| 187 | ||
| 188 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 189 | return $controller->checkAccessAction($action); |
|
| 190 | } |
|
| 191 | } |
|
| 192 | ||