@@ 1110-1117 (lines=8) @@ | ||
1107 | * @return Column\Action |
|
1108 | * @throws DataGridException |
|
1109 | */ |
|
1110 | public function getAction($key) |
|
1111 | { |
|
1112 | if (!isset($this->actions[$key])) { |
|
1113 | throw new DataGridException("There is no action at key [$key] defined."); |
|
1114 | } |
|
1115 | ||
1116 | return $this->actions[$key]; |
|
1117 | } |
|
1118 | ||
1119 | ||
1120 | /** |
@@ 133-142 (lines=10) @@ | ||
130 | * @param string $key |
|
131 | * @return Action |
|
132 | */ |
|
133 | public function getAction($key) |
|
134 | { |
|
135 | if (!isset($this->actions[$key])) { |
|
136 | throw new DataGridException( |
|
137 | "There is no action at key [$key] defined for MultiAction." |
|
138 | ); |
|
139 | } |
|
140 | ||
141 | return $this->actions[$key]; |
|
142 | } |
|
143 | ||
144 | ||
145 | /** |