| @@ 101-108 (lines=8) @@ | ||
| 98 | return $retVal; | |
| 99 | } | |
| 100 | ||
| 101 |     public function hasMethod($action) { | |
| 102 |         if(parent::hasMethod($action)) { | |
| 103 | return true; | |
| 104 | } | |
| 105 | ||
| 106 | $controller = new $this->controllerClass($this->LinkedElement()); | |
| 107 | return $controller->hasMethod($action); | |
| 108 | } | |
| 109 | ||
| 110 |     public function hasAction($action) { | |
| 111 |         if(parent::hasAction($action)) { | |
| @@ 110-117 (lines=8) @@ | ||
| 107 | return $controller->hasMethod($action); | |
| 108 | } | |
| 109 | ||
| 110 |     public function hasAction($action) { | |
| 111 |         if(parent::hasAction($action)) { | |
| 112 | return true; | |
| 113 | } | |
| 114 | ||
| 115 | $controller = new $this->controllerClass($this->LinkedElement()); | |
| 116 | return $controller->hasAction($action); | |
| 117 | } | |
| 118 | ||
| 119 |     public function checkAccessAction($action) { | |
| 120 |         if(parent::checkAccessAction($action)) { | |
| @@ 119-126 (lines=8) @@ | ||
| 116 | return $controller->hasAction($action); | |
| 117 | } | |
| 118 | ||
| 119 |     public function checkAccessAction($action) { | |
| 120 |         if(parent::checkAccessAction($action)) { | |
| 121 | return true; | |
| 122 | } | |
| 123 | ||
| 124 | $controller = new $this->controllerClass($this->LinkedElement()); | |
| 125 | return $controller->checkAccessAction($action); | |
| 126 | } | |
| 127 | } | |
| 128 | ||