public function getExportFields() { if ($this->modelClass == 'Location') { return array('Title' => 'Name', 'Address' => 'Address', 'Suburb' => 'City', 'State' => 'State', 'Postcode' => 'Postcode', 'Country' => 'Country', 'Website' => 'Website', 'Phone' => 'Phone', 'Fax' => 'Fax', 'EmailAddress' => 'EmailAddress', 'Category.Name' => 'Category', 'ShowInLocator' => 'ShowInLocator', 'Featured' => 'Featured', 'Lat' => 'Lat', 'Lng' => 'Lng'); } return parent::getExportFields(); }