CoreFiles by mySites.guru
plugin_status.php39 lines, 701 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
251bd605821558c20999f31b0c710bb8
sha1
2908f98a54b275f4ac42f7e29459ec0db68c7cc7
sha256
f50abf4964032ff28dfcf8a06e2e3605e6c7f88474e190c107b9839782efb4bd
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

JFormHelper::loadFieldClass('predefinedlist');

/**
 * Plugin Status field.
 *
 * @since  3.5
 */
class JFormFieldPlugin_Status extends JFormFieldPredefinedList
{
	/**
	 * The form field type.
	 *
	 * @var    string
	 * @since  3.5
	 */
	public $type = 'Plugin_Status';

	/**
	 * Available statuses
	 *
	 * @var  array
	 * @since  3.5
	 */
	protected $predefinedOptions = array(
		'0'  => 'JDISABLED',
		'1'  => 'JENABLED',
	);
}

The same content is in 10 releases, Joomla 3.7.0-beta4 to 3.7.2. See them all, or every version of this file.