CoreFiles by mySites.guru
extensionstatus.php42 lines, 899 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
11b45d36b55177d71f5bada9320ae7f4
sha1
2da47d93a3f959e4fee62e54a7be6fa46c7a9811
sha256
a7b5be18ac4a5a2eba2f9b145d6fdac81af1de87d95a3b563f9697008ce02f22
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_installer
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

JLoader::register('InstallerHelper', JPATH_ADMINISTRATOR . '/components/com_installer/helpers/installer.php');

/**
 * Status Field class for the Joomla Framework.
 *
 * @since  3.5
 */
class JFormFieldExtensionStatus extends JFormAbstractlist
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  3.5
	 */
	protected $type = 'ExtensionStatus';

	/**
	 * Method to get the field options.
	 *
	 * @return  array  The field option objects.
	 *
	 * @since   3.5
	 */
	public function getOptions()
	{
		$options = InstallerHelper::getStateOptions();

		return array_merge(parent::getOptions(), $options);
	}
}

No other release has this exact content. See every version of this file.