public function render(Varien_Object $row)
 {
     $this->getColumn()->setActions(array(array('url' => $this->getUrl('*/sitemap/generate', array('sitemap_id' => $row->getSitemapId())), 'caption' => Mage::helper('sitemap')->__('Generate'))));
     return parent::render($row);
 }
Example #2
0
 public function render(Varien_Object $row)
 {
     /* @var $row CueBlocks_SitemapEnhanced_Model_SitemapEnhanced */
     $this->getColumn()->setActions(array(array('url' => $this->getUrl("*/sitemapEnhanced/ping", array("sitemap_id" => $row->getSitemapId())), 'caption' => Mage::helper('adminhtml')->__('Ping Sitemap')), array('url' => $this->getUrl('*/sitemapEnhanced/generate', array('sitemap_id' => $row->getSitemapId())), 'caption' => Mage::helper('sitemapEnhanced')->__('Generate'), 'confirm' => Mage::helper('adminhtml')->__('Are you sure you want to update/generate this XML Sitemap?')), array('url' => $this->getUrl('*/sitemapEnhanced/delete', array('sitemap_id' => $row->getSitemapId())), 'caption' => Mage::helper('sitemapEnhanced')->__('Delete'), 'confirm' => Mage::helper('adminhtml')->__('Are you sure you want to delete this XML Sitemap?'))));
     return parent::render($row);
 }