| @@ 181-185 (lines=5) @@ | ||
| 178 | } |
|
| 179 | ||
| 180 | // Do 'all' actions first |
|
| 181 | if (isset(Filter::$filters['all'])) { |
|
| 182 | Filter::$currentFilter[] = $tag; |
|
| 183 | $all_args = func_get_args(); |
|
| 184 | self::$_call_all_hook($all_args); |
|
| 185 | } |
|
| 186 | ||
| 187 | if (!isset(Filter::$filters[$tag])) { |
|
| 188 | if (isset(Filter::$filters['all'])) { |
|
| @@ 170-174 (lines=5) @@ | ||
| 167 | { |
|
| 168 | $args = array(); |
|
| 169 | // Do 'all' actions first |
|
| 170 | if (isset(self::$filters['all'])) { |
|
| 171 | self::$currentFilter[] = $tag; |
|
| 172 | $args = func_get_args(); |
|
| 173 | self::callAllHook($args); |
|
| 174 | } |
|
| 175 | ||
| 176 | if (!isset(self::$filters[$tag])) { |
|
| 177 | if (isset(self::$filters['all'])) { |
|
| @@ 228-232 (lines=5) @@ | ||
| 225 | public static function applyRefArray($tag, $args) |
|
| 226 | { |
|
| 227 | // Do 'all' actions first |
|
| 228 | if (isset(self::$filters['all'])) { |
|
| 229 | self::$currentFilter[] = $tag; |
|
| 230 | $all_args = func_get_args(); |
|
| 231 | self::callAllHook($all_args); |
|
| 232 | } |
|
| 233 | ||
| 234 | if (!isset(self::$filters[$tag])) { |
|
| 235 | if (isset(self::$filters['all'])) { |
|