NAME

Muster::Assemble - page rendering

VERSION

version 0.62

SYNOPSIS

    use Muster::Assemble;

DESCRIPTION

Content Management System - page rendering

Methods

init

Initialize.

serve_page

Serve one page (or a file)

serve_meta

Serve the meta-data for a page (for debugging purposes)

serve_source

Serve the source-content for a page (for debugging purposes) Only works for page-files. (We don't want to be sending a binary file!)

Helper Functions

_serve_file

Serve a file rather than a page.

    $self->_serve_file($filename);

_create_and_process_leaf

Create and process a leaf (which contains meta-data and content). This leaf data comes from the database (apart from the content).

    $leaf = $self->_create_and_process_leaf(controller=>$c,meta=>$meta);