NAME

Apache::Onanox::Document

ABSTRACT

Document manipulation class

contents

Get the contents of a specified document

get

Gets a document object from the database and escapes tags.

get_all

Retrieves all documents.

list

Retrieves paths of all documents. (TBC. Currently returns all documents.)

get_unescaped

Gets a document object from the database.

exists

Tests for the existance of a document.

title

Gets a document's title

context

Get/set the Template context.

escape_tags

Escapes TT tags.

delete

Deletes a document.

lock

Locks a document for a user

unlock

Unlocks a document.

create

Creates a document.

update

Updates a document.

render

Renders a document with Template Toolkit.

get_theme

Gets the headers and footers for a theme

SEE ALSO

Apache::Onanox