Source for file userstate.php

Documentation is available at userstate.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Libraries
  4.  * @subpackage  Form
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('JPATH_BASE'or die;
  11.  
  12. JFormHelper::loadFieldClass('predefinedlist');
  13.  
  14. /**
  15.  * Field to load a list of available users statuses
  16.  *
  17.  * @package     Joomla.Libraries
  18.  * @subpackage  Form
  19.  * @since       3.2
  20.  */
  21. {
  22.     /**
  23.      * The form field type.
  24.      *
  25.      * @var        string 
  26.      * @since   3.2
  27.      */
  28.     protected $type = 'UserState';
  29.  
  30.     /**
  31.      * Available statuses
  32.      *
  33.      * @var  array 
  34.      * @since  3.2
  35.      */
  36.     protected $predefinedOptions = array(
  37.         '0'  => 'JENABLED',
  38.         '1'  => 'JDISABLED'
  39.     );
  40. }

Documentation generated on Tue, 19 Nov 2013 15:16:42 +0100 by phpDocumentor 1.4.3