1463 |
alexandre_ |
1 |
<?php
|
|
|
2 |
// +----------------------------------------------------------------------+
|
|
|
3 |
// | PEAR :: I18Nv2 :: DecoartedList :: EuropeanCountries |
|
|
|
4 |
// +----------------------------------------------------------------------+
|
|
|
5 |
// | This source file is subject to version 3.0 of the PHP license, |
|
|
|
6 |
// | that is available at http://www.php.net/license/3_0.txt |
|
|
|
7 |
// | If you did not receive a copy of the PHP license and are unable |
|
|
|
8 |
// | to obtain it through the world-wide-web, please send a note to |
|
|
|
9 |
// | license@php.net so we can mail you a copy immediately. |
|
|
|
10 |
// +----------------------------------------------------------------------+
|
|
|
11 |
// | Copyright (c) 2004 Michael Wallner <mike@iworks.at> |
|
|
|
12 |
// +----------------------------------------------------------------------+
|
|
|
13 |
//
|
|
|
14 |
// $Id: EuropeanCountries.php,v 1.1 2007-06-25 09:55:28 alexandre_tb Exp $
|
|
|
15 |
|
|
|
16 |
/**
|
|
|
17 |
* I18Nv2::DecoratedList::EuropeanCountries
|
|
|
18 |
*
|
|
|
19 |
* @package I18Nv2
|
|
|
20 |
* @category Internationalization
|
|
|
21 |
*/
|
|
|
22 |
|
|
|
23 |
require_once 'I18Nv2/DecoratedList/Filter.php';
|
|
|
24 |
|
|
|
25 |
/**
|
|
|
26 |
* I18Nv2_DecoratedList_EuropeanCountries
|
|
|
27 |
*
|
|
|
28 |
* Use only for decorating I18Nv2_Country.
|
|
|
29 |
*
|
|
|
30 |
* @author Michael Wallner <mike@php.net>
|
|
|
31 |
* @version $Revision: 1.1 $
|
|
|
32 |
* @package I18Nv2
|
|
|
33 |
* @access public
|
|
|
34 |
*/
|
|
|
35 |
class I18Nv2_DecoratedList_EuropeanCountries extends I18Nv2_DecoratedList_Filter
|
|
|
36 |
{
|
|
|
37 |
/**
|
|
|
38 |
* Keys for European countries
|
|
|
39 |
*
|
|
|
40 |
* @var array
|
|
|
41 |
*/
|
|
|
42 |
var $elements = array(
|
|
|
43 |
'AL','AD','AM','AT','AZ','BY','BE','BA','BG','HR','CY','CZ','DK','EE',
|
|
|
44 |
'FI','FR','GE','DE','GR','HU','IS','IE','IT','LV','LI','LT','LU','MK',
|
|
|
45 |
'MT','MD','MC','NL','NO','PL','PT','RO','SM','SP','SK','SI','ES','SE',
|
|
|
46 |
'CH','UA','GB','VA'
|
|
|
47 |
);
|
|
|
48 |
}
|
|
|
49 |
?>
|