Slaven Rezić > WE_Framework-0.097_03 > WE_Frontend::Plugin::Navigation::Object

Download:
WE_Framework-0.097_03.tar.gz

Dependencies

Annotate this POD

Module Version: 1.10   Source  

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

Navigation

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.

syntax highlighting: