Mirko Westermeier > Contenticious-0.332 > Contenticious::Content::Node

Download:
Contenticious-0.332.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Source   Latest Release: Contenticious-0.333

NAME ^

Contenticious::Content::Node - base class for Contenticious content

SYNOPSIS ^

    use Mojo::Base 'Contenticious::Content::Node';

DESCRIPTION ^

Basic node functionality for both files and directories.

ATTRIBUTES ^

is_root

Is true iff this node is the root node of a content tree.

filename

The filename of this node. Needs to be set early.

name

The name of this node.

path_prefix

A prefix for this node's path in the whole content tree.

path

This node's path in the whole content tree.

meta

A hashref of meta informations.

html

Generated HTML from this node.

title

This node's title.

navi_name

The name this node has in the page navigation.

METHODS ^

find

Find nodes in this subtree. This is a very basic version. It returns the node if the search path is empty and undef in all other cases.

SEE ALSO ^

Contenticious::Content, Contenticious::Content::Node::File, Contenticious::Content::Node::Directory, Contenticious

syntax highlighting: