| @@ 2274-2278 (lines=5) @@ | ||
| 2271 | } |
|
| 2272 | ||
| 2273 | // Hook is an instance. |
|
| 2274 | if (strpos($modFunc, '#') !== false) |
|
| 2275 | { |
|
| 2276 | $modFunc = str_replace('#', '', $modFunc); |
|
| 2277 | $hookData['object'] = true; |
|
| 2278 | } |
|
| 2279 | ||
| 2280 | // Hook is "disabled" |
|
| 2281 | if (strpos($modFunc, '!') !== false) |
|
| @@ 2281-2285 (lines=5) @@ | ||
| 2278 | } |
|
| 2279 | ||
| 2280 | // Hook is "disabled" |
|
| 2281 | if (strpos($modFunc, '!') !== false) |
|
| 2282 | { |
|
| 2283 | $modFunc = str_replace('!', '', $modFunc); |
|
| 2284 | $hookData['enabled'] = false; |
|
| 2285 | } |
|
| 2286 | ||
| 2287 | // Handling methods? |
|
| 2288 | if (strpos($modFunc, '::') !== false) |
|