NAME

Muster::Hook::HeadFoot - Muster header and footer hook.

VERSION

version 0.62

DESCRIPTION

Muster::Hook::HeadFoot includes header and footer pages inside pages.

METHODS

Muster::Hook::HeadFoot inherits all methods from Muster::Hook::Directives.

register

Do some intialization. And register.

process

Process header/footer inclusion.

_find_affix_page

Find the desired Header/Footer page which applies to the given page. First search in the same level as the page, then in its parent level, and so on.

my $spage = $self->_find_affix_page(current_page=>$page,affix_page=>'_Header');