*/ class Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Country extends Mage_Adminhtml_Block_Widget_Grid_Column_Renderer_Abstract { /** * Render country grid column * * @param Varien_Object $row * @return string */ public function render(Varien_Object $row) { if ($data = $row->getData($this->getColumn()->getIndex())) { $name = Mage::app()->getLocale()->getCountryTranslation($data); if (empty($name)) { $name = $this->escapeHtml($data); } return $name; } return null; } }