CoreFiles by mySites.guru
plugin_status.php39 lines, 715 bytes, from Joomla_3.5.0-beta3-Beta-Full_Package.zip
Raw History Compare with 3.5.0-beta2
md5
a0dcf064858f22a8209b1a72b0f33eca
sha1
949d29713430b2842ba206ff2c1ffafd34879025
sha256
3d857bdb044643b20124edea7fa246e7d9132ad13462d013b20e1d005952a37f
<?php
/**
 * @package     Joomla.Libraries
 * @subpackage  Form
 *
 * @copyright   Copyright (C) 2005 - 2016 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');

/**
 * Form Field to load a list of states
 *
 * @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 21 releases, Joomla 3.5.0-beta3 to 3.6.2. See them all, or every version of this file.