Source for file accesslevel.php
Documentation is available at accesslevel.php
* @package Joomla.Platform
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
* Form Field class for the Joomla Platform.
* Provides a list of access levels. Access levels control what users in specific
* @package Joomla.Platform
protected $type =
'AccessLevel';
* Method to get the field input markup.
* @return string The field input markup.
// Initialize some field attributes.
$attr .=
!empty($this->class) ?
' class="' .
$this->class .
'"' :
'';
$attr .=
$this->disabled ?
' disabled' :
'';
$attr .=
!empty($this->size) ?
' size="' .
$this->size .
'"' :
'';
$attr .=
$this->multiple ?
' multiple' :
'';
$attr .=
$this->required ?
' required aria-required="true"' :
'';
$attr .=
$this->autofocus ?
' autofocus' :
'';
// Initialize JavaScript field attributes.
// Get the field options.
return JHtml::_('access.level', $this->name, $this->value, $attr, $options, $this->id);
Documentation generated on Tue, 19 Nov 2013 14:53:18 +0100 by phpDocumentor 1.4.3