man Zim::Page () - Page object for Zim

NAME

Zim::Page - Page object for Zim

SYNOPSIS

FIXME simple code example

DESCRIPTION

This class defines a page object. This is a data container used by Zim::Repository to represent one file.

METHODS

Simple constructor. PARENT should be a repository object of class Zim. NAME is the page name for this object. Get or set the full name of the page. Returns the last part of the page name. Returns the namespace to which the page belongs. Set or get a status string for this page. Typical status strings are 'new' and 'deleted'. Returns a page name for a page linked from this page. This method allows you to have relative links. In list context the page name can be followed with some data the may be given to the repository's CWload_page(). This is used for repository specific optimizations. Get or set the parse tree. Append more data to this page. Prepend a data to this page. TODO test this method Clears all data from this page and initialises an empty parse tree. The methods CWsave(), CWdelete() and CWmove() are aliases for the methods CWsave_page(), CWdelete_page() and CWmove_page() in Zim::Repository.

AUTHOR

Jaap Karssenberg (Pardus) <pardus@cpan.org>

Copyright (c) 2005 Jaap G Karssenberg. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

Zim, Zim::Repository