NAME
Muster::Hooks - scanning and processing hooks
VERSION
version 0.61
DESCRIPTION
Content Management System scanning and processing hooks
PACKAGE CONSTANTS
- $PHASE_SCAN
-
Hooks are currently in scanning phase where pages are scanned for meta-data.
- $PHASE_BUILD
-
Hooks are currently in build/assemble phase, where the pages are read and built.
- $PHASE_FORMAT
-
Hooks are currently in format phase, where the page has already been converted to HTML, and needs post-processing.
METHODS
init
Set the defaults for the object if they are not defined already.
add_hook
Add a hook.
run_hooks
Run the hooks over the given leaf. Leaf must already be created and reclassified. The "scanning" flag says whether we are scanning or assembling.
$leaf = $self->run_hooks(leaf=>$leaf,phase=>$phase);