Example #1
0
 public function render(Varien_Object $row)
 {
     if (!$row->getData($this->getColumn()->getIndex())) {
         return null;
     }
     return '<a title="' . Mage::helper('core')->__('Edit Store') . '" href="' . $this->getUrl('*/*/editGroup', array('group_id' => $row->getGroupId())) . '">' . $row->getData($this->getColumn()->getIndex()) . '</a>';
 }
 public function render(Varien_Object $item)
 {
     $group = Mage::getResourceSingleton('dhcarousel/group_collection')->getItemById($item->getGroupId());
     if ($group) {
         return $group->getName();
     }
     return '';
 }
 /**
  * Get full path of store
  * 
  * @param Varien_Object $row
  * @return string
  */
 public function render(Varien_Object $row)
 {
     $website = Mage::app()->getGroup($row->getGroupId())->getWebsite()->getName();
     $html = $website . ' -- ' . $row->getName();
     return $html;
 }