Source for file contentlanguage.php

Documentation is available at contentlanguage.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.  
  13. /**
  14.  * Form Field class for the Joomla Platform.
  15.  * Provides a list of content languages
  16.  *
  17.  * @package     Joomla.Libraries
  18.  * @subpackage  Form
  19.  * @see         JFormFieldLanguage for a select list of application languages.
  20.  * @since       1.6
  21.  */
  22. {
  23.     /**
  24.      * The form field type.
  25.      *
  26.      * @var    string 
  27.      * @since  1.6
  28.      */
  29.     public $type = 'ContentLanguage';
  30.  
  31.     /**
  32.      * Method to get the field options for content languages.
  33.      *
  34.      * @return  array  The options the field is going to show.
  35.      *
  36.      * @since   1.6
  37.      */
  38.     protected function getOptions()
  39.     {
  40.         return array_merge(parent::getOptions()JHtml::_('contentlanguage.existing'));
  41.     }
  42. }

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