Example #1
0
 public function render(Varien_Object $row)
 {
     $actions = array();
     if ($row->canReorder()) {
         $actions[] = array('@' => array('href' => $this->getUrl('*/sales_order_create/reorder', array('order_id' => $row->getId()))), '#' => Mage::helper('sales')->__('Reorder'));
     }
     return $this->_actionsToHtml($actions);
 }