Source for file status.php

Documentation is available at status.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
  8.  */
  9.  
  10. defined('JPATH_PLATFORM'or die;
  11.  
  12. JFormHelper::loadFieldClass('predefinedlist');
  13.  
  14. /**
  15.  * Form Field to load a list of states
  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.     public $type = 'Status';
  29.  
  30.     /**
  31.      * Available statuses
  32.      *
  33.      * @var  array 
  34.      * @since  3.2
  35.      */
  36.     protected $predefinedOptions = array(
  37.         '-2' =>    'JTRASHED',
  38.         '0'  => 'JUNPUBLISHED',
  39.         '1'  => 'JPUBLISHED',
  40.         '2'  => 'JARCHIVED',
  41.         '*'  => 'JALL'
  42.     );
  43. }

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