Natural Docs Version 0.9 |
NaturalDocs:: Menu:: EntryA class representing an entry in the menu. Summary
MembersThe object is implemented as a blessed arrayref with the indexes below.
New
Creates and returns a new object. Parameters
Title
Returns the title of the entry. The object will always return the correct title, so you don’t have to worry about it being undef and applying the rules described in New()’s parameters. Group FunctionsThese functions all assume that the entry type is MENU_GROUP. Do not call them without testing Type() first. GroupContent
Returns an arrayref of NaturalDocs::Menu::Entry objects representing the contents of the group, or undef if it is empty. Do not change the arrayref; use PushToGroup() and PopFromGroup() instead. PushToGroup
Adds a new NaturalDocs::Menu::Entry object to the end of the group content. Parameters
|