The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WE_Frontend::Plugin::Navigation::Object - object for Navigation plugin

SYNOPSIS

    Not instantiated manually

DESCRIPTION

The WE_Frontend::Plugin::Navigation::Object objects correspond to WE::Obj objects.

METHODS

Return the WE_Frontend::Plugin::Navigation object of the current object.

Implementation note: This is solved by using a global object because of self-referencing issues with Perl. This means this will not work if you have multiple navigation objects in your template (not likely anyway). However with modern Perl, we could use weaken() instead.

o

Return a reference to the WE::Obj object.

get(member)

Return the value of the named member of the WE::Obj object.

is_doc, is_folder

Return true if the WE::Obj object is a document resp. folder.

is_sequence

Return true if the WE::Obj object is a sequence. Remember that a sequence is always a FolderObj, so a call to is_folder would also be true.

content([lang=lang])

Return the language-specific language content of the current object. If lang is not specified, then the "de" content is used instead XXX This will probably change, so don't rely on it! See also "data".

This corresponds to things=data.${data.language}.ct as seen in the sample webeditor templates.

data

Return the data content of the current object. See also "content".

AUTHOR

Slaven Rezic - slaven@rezic.de

SEE ALSO

WE::Obj.