Member Function Documentation
Check if you meet hook requirements
- Returns:
- void [Outputs to screen]
Clean source code for export..
- Parameters:
-
- Returns:
- string "Cleaned" source code
Disables all hook
- Returns:
- void [Outputs to screen]
Disables a hook
- Returns:
- void [Outputs to screen]
Actually export the damn hook already Sorry, it has been a long day...
- Returns:
- void
Enables a hook
- Returns:
- void [Outputs to screen]
Show the form to export a hook
- Returns:
- void
Fix hook positions
- Returns:
- void
Hook add/edit form This dynamic form allows users to associate multiple files with a single hook.
- Parameters:
-
- Returns:
- void [Outputs to screen]
Hooks overview
- Returns:
- void [Outputs to screen]
Install a new hook
- Returns:
- void
Re-enable all hook
- Returns:
- void [Outputs to screen]
Reorder hooks
- Returns:
- void [Outputs to screen]
Uninstall a hook
- Returns:
- void [Outputs to screen]
Check if there is an update for a hook
- Parameters:
-
| string | URL to check |
| string | Long version number |
- Returns:
- bool
View details about a hook
- Returns:
- void [Outputs to screen]
Check if the hook meets all the requirements
- Parameters:
-
| mixed | $hook | Can be an hook ID or an array of the hook data |
- Returns:
- array Errors found
Main class entry point
- Parameters:
-
- Returns:
- void [Outputs to screen]
Reimplemented from ipsCommand.
Function mostly used in installer/upgrader Inserts new hooks
- Parameters:
-
| string | Application to install hooks for |
| installHook |
( |
$ |
content, |
|
|
$ |
addMessage = FALSE, |
|
|
$ |
allowSkinRecache = TRUE, |
|
|
$ |
enabled = 1 |
|
) |
| |
Public install hook so we can use it in the installer and elsewhere
- Parameters:
-
| string | XML data |
| boolean | Add message to output->global_message |
| boolean | Allow skins to recache |
| int | Install enabled |
- Returns:
- void
Rebuild hooks cache
- Returns:
- void
Reimport all hooks for all installed applications
- Returns:
- void
Rebuild skins following hook import that included a template
- Returns:
- void
Field Documentation
$cachedVersions = array() [protected] |
Array of all the cache versions for the required applications
The documentation for this class was generated from the following file:
- admin/applications/core/modules_admin/applications/hooks.php