Ejemplo n.º 1
0
 /**
  * Gets list of countries
  * @deprecated	Use icms_form_elements_select_Country::getCountryList(), instead
  * @todo		Remove in version 1.4
  *
  * @return  array	 $country_list   list of countries
  */
 public static function getCountryList()
 {
     icms_core_Debug::setDeprecated('icms_form_elements_select_Country::getCountryList()', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
     return icms_form_elements_select_Country::getCountryList();
 }
Ejemplo n.º 2
0
 /**
  * Constructor
  *
  * @param	string	$caption	Caption
  * @param	string	$name       "name" attribute
  * @param	mixed	$value	    Pre-selected value (or array of them).
  *                              Legal are all 2-letter country codes (in capitals).
  * @param	int		$size	    Number or rows. "1" makes a drop-down-list
  */
 function XoopsFormSelectCountry($caption, $name, $value = null, $size = 1)
 {
     parent::__construct($caption, $name, $value, $size);
     $this->_deprecated = icms_core_Debug::setDeprecated('icms_form_elements_select_Country', sprintf(_CORE_REMOVE_IN_VERSION, '1.4'));
 }