Public Member Functions | |
| __construct () | |
| Create a NavXMLModule to generate the navigation for a page. | |
| addLinkLevel ($name, $link) | |
| Add a link/path level to the set of breadcrumbs. | |
| addTab ($name, $link) | |
| Add a tab to the current row. | |
| addTabRow () | |
| Finish a row of tabs. | |
| generateBrowseXML () | |
| Generate the Browse XML. | |
| generateJumpToXML () | |
| Generate the Jump-To XML. | |
| generateSearchXML () | |
| Generate the Search XML. | |
| generateXML () | |
| Generate the PR2-ready navigation XML string. | |
This class builds the XML that is translated by PR2 to generate all forms of site navigation.
| NavXMLModule::addLinkLevel | ( | $ | name, | |
| $ | link | |||
| ) |
Add a link/path level to the set of breadcrumbs.
| $name | [string]: The text to appear for the breadcrumb | |
| $link | [string]: The URL link for the breadcrumb |
| NavXMLModule::addTab | ( | $ | name, | |
| $ | link | |||
| ) |
Add a tab to the current row.
| $name | [string]: The text to appear on the tab | |
| $link | [string]: The URL to which the tab should link |
| NavXMLModule::addTabRow | ( | ) |
Finish a row of tabs.
Use this function after you have finished adding a row of tabs, having called addTab() to create those tabs.
| NavXMLModule::generateBrowseXML | ( | ) |
Generate the Browse XML.
| NavXMLModule::generateJumpToXML | ( | ) |
Generate the Jump-To XML.
| NavXMLModule::generateSearchXML | ( | ) |
Generate the Search XML.
| NavXMLModule::generateXML | ( | ) |
Generate the PR2-ready navigation XML string.
1.5.6