@@ 138-147 (lines=10) @@ | ||
135 | * @param string $key |
|
136 | * @return Action |
|
137 | */ |
|
138 | public function getAction($key) |
|
139 | { |
|
140 | if (!isset($this->actions[$key])) { |
|
141 | throw new DataGridException( |
|
142 | "There is no action at key [$key] defined for MultiAction." |
|
143 | ); |
|
144 | } |
|
145 | ||
146 | return $this->actions[$key]; |
|
147 | } |
|
148 | ||
149 | ||
150 | /** |
@@ 1164-1171 (lines=8) @@ | ||
1161 | * @return Column\Action |
|
1162 | * @throws DataGridException |
|
1163 | */ |
|
1164 | public function getAction($key) |
|
1165 | { |
|
1166 | if (!isset($this->actions[$key])) { |
|
1167 | throw new DataGridException("There is no action at key [$key] defined."); |
|
1168 | } |
|
1169 | ||
1170 | return $this->actions[$key]; |
|
1171 | } |
|
1172 | ||
1173 | ||
1174 | /** |