* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; extract($displayData); /** * Layout variables * ----------------- * @var string $text The label text * @var string $for The id of the input this label is for * @var boolean $required True if a required field * @var array $classes A list of classes */ $classes = array_filter((array) $classes); $id = $for . '-lbl'; if ($required) { $classes[] = 'required'; } ?>