Conditions | 2 |
Paths | 2 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
37 | public function getTableTitle() |
||
38 | { |
||
39 | if ($country = $this->Country()) { |
||
40 | $countryList = SiteConfig::current_site_config()->getCountriesList(); |
||
41 | |||
42 | return _t( |
||
43 | __CLASS__ . '.ShipToCountry', |
||
44 | 'Ship to {Country}', |
||
45 | '', |
||
46 | ['Country' => $countryList[$country]] |
||
47 | ); |
||
48 | } else { |
||
49 | return parent::getTableTitle(); |
||
50 | } |
||
67 |