Abstract view renderer class. The renderer is what turns XML view templates into actual HTML code, renders the submenu links and potentially wraps the HTML output in a div with a component-specific ID.
Located in /libraries/fof/render/abstract.php (line 18)
Class | Description |
---|---|
![]() |
Default Joomla! 1.5, 1.7, 2.5 view renderer class |
![]() |
Akeeba Strapper view renderer class. |
Echoes any HTML to show after the view template
Echoes any HTML to show before the view template
Renders the submenu (link bar) for a category view when it is used in a extension
Note: this function has to be called from the addSubmenu function in the ExtensionNameHelper class located in administrator/components/com_ExtensionName/helpers/Extensionname.php
Example Code:
class ExtensionNameHelper { public static function addSubmenu($vName) { // Load FOF include_once JPATH_LIBRARIES . '/fof/include.php';
if (!defined('FOF_INCLUDED')) { JError::raiseError('500', 'FOF is not installed'); }
if (FOFPlatform::getInstance()->checkVersion(JVERSION, '3.0', 'ge')) { $strapper = new FOFRenderJoomla3; } else { $strapper = new FOFRenderJoomla; }
$strapper->renderCategoryLinkbar('com_babioonevent'); } }
Renders a FOFForm and returns the corresponding HTML
Renders a FOFForm for a Browse view and returns the corresponding HTML
Renders a FOFForm for an Edit view and returns the corresponding HTML
Renders a raw FOFForm and returns the corresponding HTML
Renders a FOFForm for a Read view and returns the corresponding HTML
Documentation generated on Tue, 19 Nov 2013 14:53:13 +0100 by phpDocumentor 1.4.3