CoreFiles by mySites.guru
levels.php41 lines, 825 bytes, from Joomla_3.9.16-Stable-Full_Package.zip
Raw History Compare with 3.9.15
md5
0c0750661d9c5df39978b8d901106520
sha1
cb38db9e40462d88de327df81469885a05e2b821
sha256
96dec8ea31e0cc430e77ac61dabb09a61f91f9d171cfe67c717288d6775a822b
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_users
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') or die;

JFormHelper::loadFieldClass('list');

/**
 * Access Levels field.
 *
 * @since  3.6.0
 */
class JFormFieldLevels extends JFormFieldList
{
	/**
	 * The form field type.
	 *
	 * @var     string
	 * @since   3.6.0
	 */
	protected $type = 'Levels';

	/**
	 * Method to get the field options.
	 *
	 * @return  array  The field option objects
	 *
	 * @since   3.6.0
	 */
	protected function getOptions()
	{
		// Merge any additional options in the XML definition.
		return array_merge(parent::getOptions(), UsersHelperDebug::getLevelsOptions());
	}
}

The same content is in 4 releases, Joomla 3.9.15-rc to 3.9.16. See them all, or every version of this file.