Conditions | 2 |
Paths | 2 |
Total Lines | 22 |
Code Lines | 17 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
43 | public function getExportFields() |
||
44 | { |
||
45 | if ($this->modelClass == 'Location') { |
||
46 | return array( |
||
47 | 'Title' => 'Name', |
||
48 | 'Address' => 'Address', |
||
49 | 'City' => 'City', |
||
50 | 'State' => 'State', |
||
51 | 'PostalCode' => 'PostalCode', |
||
52 | 'Country' => 'Country', |
||
53 | 'Website' => 'Website', |
||
54 | 'Phone' => 'Phone', |
||
55 | 'Fax' => 'Fax', |
||
56 | 'Email' => 'Email', |
||
57 | 'ShowInLocator' => 'ShowInLocator', |
||
58 | 'Featured' => 'Featured', |
||
59 | 'Lat' => 'Lat', |
||
60 | 'Lng' => 'Lng', |
||
61 | ); |
||
62 | } |
||
63 | |||
64 | return parent::getExportFields(); |
||
65 | } |
||
84 |