@@ 103-110 (lines=8) @@ | ||
100 | return $retVal; |
|
101 | } |
|
102 | ||
103 | public function hasMethod($action) { |
|
104 | if(parent::hasMethod($action)) { |
|
105 | return true; |
|
106 | } |
|
107 | ||
108 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
109 | return $controller->hasMethod($action); |
|
110 | } |
|
111 | ||
112 | public function hasAction($action) { |
|
113 | if(parent::hasAction($action)) { |
|
@@ 112-119 (lines=8) @@ | ||
109 | return $controller->hasMethod($action); |
|
110 | } |
|
111 | ||
112 | public function hasAction($action) { |
|
113 | if(parent::hasAction($action)) { |
|
114 | return true; |
|
115 | } |
|
116 | ||
117 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
118 | return $controller->hasAction($action); |
|
119 | } |
|
120 | ||
121 | public function checkAccessAction($action) { |
|
122 | if(parent::checkAccessAction($action)) { |
|
@@ 121-128 (lines=8) @@ | ||
118 | return $controller->hasAction($action); |
|
119 | } |
|
120 | ||
121 | public function checkAccessAction($action) { |
|
122 | if(parent::checkAccessAction($action)) { |
|
123 | return true; |
|
124 | } |
|
125 | ||
126 | $controller = new $this->controllerClass($this->LinkedElement()); |
|
127 | return $controller->checkAccessAction($action); |
|
128 | } |
|
129 | ||
130 | /** |
|
131 | * Detect when a user has published a ElementVirtualLinked block |