Beispiel #1
0
 public static function country_select($name, $value = null, $options = array())
 {
     $preferred = isset($options['preferred']) ? $options['preferred'] : null;
     $separator = isset($options['separator']) ? $options['separator'] : '-----';
     unset($options['preferred']);
     unset($options['separator']);
     return self::select($name, $value, \ISO_Country::names($preferred, $separator), $options);
 }
Beispiel #2
0
 /**
  * @see ISO_Country::getAssocData()
  * 
  * @static
  */
 public static function data($is_zip = null)
 {
     return ISO_Country::getInstance()->getAssocData($is_zip);
 }