Source for file title.php
Documentation is available at title.php
* @package FrameworkOnFramework
* @copyright Copyright (C) 2010 - 2012 Akeeba Ltd. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
// Protect from unauthorized access
* Form Field class for the FOF framework
* Supports a title field with an optional slug display below it.
* @package FrameworkOnFramework
* Get the rendering of this field type for a repeatable (grid) display,
* e.g. in a view listing many item (typically a "browse" task)
* @return string The field HTML
$slug_field = (string)
$this->element['slug_field'];
$slug_format = (string)
$this->element['slug_format'];
$slug_class = (string)
$this->element['slug_class'];
// Get the regular display
$slug =
$this->item->$slug_field;
$html .=
'<br />' .
'<span class="' .
$slug_class .
'">';
Documentation generated on Tue, 19 Nov 2013 15:15:48 +0100 by phpDocumentor 1.4.3