Esempio n. 1
0
 public function getRowUrl($row)
 {
     if (Mage::helper('smvendors')->getVendorLogin()) {
         if (Mage::getSingleton('admin/session')->isAllowed('smvendors/vendors_orders/actions/view')) {
             return $this->getUrl('*/vendors_order/view', array('order_id' => $row->getId()));
         }
         return false;
     } else {
         return parent::getRowUrl($row);
     }
 }