blockunblock.php
Blocks a module from being able to hook for the rest of the page hit.
Please note, any hooks already executed by the blocked module will not be undone, so this function is pretty flaky all around.
The only way to use this safely would be to block/unblock modules from the everyhit hook and make sure to shortcircuit for any page other than the one you care about.
Table of Contents
- blockmodule() : mixed
- unblockmodule() : mixed
Functions
blockmodule()
blockmodule(mixed $modulename) : mixed
Parameters
- $modulename : mixed
Return values
mixed —unblockmodule()
unblockmodule(mixed $modulename) : mixed
Parameters
- $modulename : mixed