芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/administrator.1/components/com_privacy/src/Field/RequeststatusField.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Privacy\Administrator\Field; \defined('_JEXEC') or die; use Joomla\CMS\Form\Field\PredefinedlistField; /** * Form Field to load a list of request statuses * * @since 3.9.0 */ class RequeststatusField extends PredefinedlistField { /** * The form field type. * * @var string * @since 3.9.0 */ public $type = 'RequestStatus'; /** * Available statuses * * @var array * @since 3.9.0 */ protected $predefinedOptions = [ '-1' => 'COM_PRIVACY_STATUS_INVALID', '0' => 'COM_PRIVACY_STATUS_PENDING', '1' => 'COM_PRIVACY_STATUS_CONFIRMED', '2' => 'COM_PRIVACY_STATUS_COMPLETED', ]; }