protected function setCitiesFromArray($cities = array())
    {
        $this->_cities = array();
        foreach ($cities as $city) {
            $city = new City((array)$city);
            $city->setCountry($this);
            $this->_cities[$city->getCityId()] = $city;
        }
    }
protected function setCitiesFromArray($cities = array())
    {
        $this->_cities = array();
        foreach ($cities as $city) {
            $city = new City((array)$city);
            $city->setCountry($this);
            $this->_cities[$city->getCityId()] = $city;
        }
    }
protected function setCitiesFromArray ( $ cities = array ( ) ) { $ this -> _cities = array ( ) ; foreach ( $ cities as $ city ) { $ city = new City ( ( array ) $ city ) ; $ city -> setCountry ( $ this ) ; $ this -> _cities [ $ city -> getCityId ( ) ] = $ city ; } }
method to build City objects from multidimension array
@param array $cities
@return void
method to build City objects from multidimension array