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