/**
  * Prepares DataExtension objects data from a city_cat_mapping record
  * @param  int $iCityId  A wiki's ID
  * @return array         An array with city_cat_mapping DataExtension objects data in a valid format
  */
 public function prepareCityCatMappingDataExtensionForCreate($iCityId)
 {
     $aCityCatMappingDataExtension = [];
     $aCustomerKeys = $this->getCustomerKeys();
     $oWikiFactoryHub = new \WikiFactoryHub();
     $aCategories = $oWikiFactoryHub->getWikiCategories($iCityId);
     $aCityCatMappingDataExtension['DataExtension'] = [];
     foreach ($aCategories as $aCategory) {
         $aCityCatMappingDataExtension['DataExtension'][] = ['CustomerKey' => $aCustomerKeys['city_cat_mapping'], 'Properties' => ['city_id' => $iCityId, 'cat_id' => $aCategory['cat_id']]];
     }
     return $aCityCatMappingDataExtension;
 }