| @@ 145-152 (lines=8) @@ | ||
| 142 | return $retVal; |
|
| 143 | } |
|
| 144 | ||
| 145 | public function hasMethod($action) |
|
| 146 | { |
|
| 147 | if (parent::hasMethod($action)) { |
|
| 148 | return true; |
|
| 149 | } |
|
| 150 | ||
| 151 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 152 | return $controller->hasMethod($action); |
|
| 153 | } |
|
| 154 | ||
| 155 | public function hasAction($action) |
|
| @@ 155-162 (lines=8) @@ | ||
| 152 | return $controller->hasMethod($action); |
|
| 153 | } |
|
| 154 | ||
| 155 | public function hasAction($action) |
|
| 156 | { |
|
| 157 | if (parent::hasAction($action)) { |
|
| 158 | return true; |
|
| 159 | } |
|
| 160 | ||
| 161 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 162 | return $controller->hasAction($action); |
|
| 163 | } |
|
| 164 | ||
| 165 | public function checkAccessAction($action) |
|
| @@ 165-172 (lines=8) @@ | ||
| 162 | return $controller->hasAction($action); |
|
| 163 | } |
|
| 164 | ||
| 165 | public function checkAccessAction($action) |
|
| 166 | { |
|
| 167 | if (parent::checkAccessAction($action)) { |
|
| 168 | return true; |
|
| 169 | } |
|
| 170 | ||
| 171 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
| 172 | return $controller->checkAccessAction($action); |
|
| 173 | } |
|
| 174 | } |
|
| 175 | ||