public static function init() { $countries = array(); array_push($countries, new Country('Germany', 'ger', array(new State('Styria'), new State('Viena')))); array_push($countries, new Country('United States', 'usa', array(new State('Montreal'), new State('Quebek')))); array_push($countries, new Country('Luxenburgo', 'lux')); self::$countries = $countries; }
protected static function init() { $countries = array(); array_push($countries, new Country('Austria', 'at', array(new State('Styria'), new State('Tyrol')))); array_push($countries, new Country('Canada', 'ca', array(new State('Ontario'), new State('Quebec')))); array_push($countries, new Country('Luxembourg', 'lu')); self::$countries = $countries; }
protected static function init() { $countries = array(); array_push($countries, new Country('India', 'at', array(new State('Styria'), new State('Vienna')))); array_push($countries, new Country('Canada', 'ca', array(new State('Ontario'), new State('bigtities')))); array_push($countries, new Country('USA', 'us', array(new State('Texas'), new State('Los Angeles')))); self::$countries = $countries; }