WE_Frontend::Plugin::Navigation::Object - object for Navigation plugin
Not instantiated manually
The WE_Frontend::Plugin::Navigation::Object objects correspond to WE::Obj objects.
WE_Frontend::Plugin::Navigation::Object
WE::Obj
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.
Return a reference to the WE::Obj object.
Return the value of the named member of the WE::Obj object.
Return true if the WE::Obj object is a document resp. folder.
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.
FolderObj
is_folder
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.
Return the data content of the current object. See also "content".
Slaven Rezic - slaven@rezic.de
WE::Obj.
To install WE::DB, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WE::DB
CPAN shell
perl -MCPAN -e shell install WE::DB
For more information on module installation, please visit the detailed CPAN module installation guide.