original_string: public function addExportToBulkAction($observer)
      {
          $block = $observer->getBlock();
          if (
              $block instanceof Mage_Adminhtml_Block_Sales_Order_Grid &&
              Mage::helper('australia/clickandsend')->isClickAndSendEnabled()
          ) {
              $block->getMassactionBlock()->addItem('clickandsendexport', array(
                  'label' => $block->__('Export to CSV (Click & Send)'),
                  'url'   => $block->getUrl('*/australia_clickandsend/export')
              ));
          }
      }
code: public function addExportToBulkAction($observer)
      {
          $block = $observer->getBlock();
          if (
              $block instanceof Mage_Adminhtml_Block_Sales_Order_Grid &&
              Mage::helper('australia/clickandsend')->isClickAndSendEnabled()
          ) {
              $block->getMassactionBlock()->addItem('clickandsendexport', array(
                  'label' => $block->__('Export to CSV (Click & Send)'),
                  'url'   => $block->getUrl('*/australia_clickandsend/export')
              ));
          }
      }
code_tokens: public function addExportToBulkAction ( $ observer ) { $ block = $ observer -> getBlock ( ) ; if ( $ block instanceof Mage_Adminhtml_Block_Sales_Order_Grid && Mage :: helper ( 'australia/clickandsend' ) -> isClickAndSendEnabled ( ) ) { $ block -> getMassactionBlock ( ) -> addItem ( 'clickandsendexport' , array ( 'label' => $ block -> __ ( 'Export to CSV (Click & Send)' ) , 'url' => $ block -> getUrl ( '*/australia_clickandsend/export' ) ) ) ; } }
docstring: Event observer. Triggered before an adminhtml widget template is
  rendered. We use this to add our action to bulk actions in the sales
  order grid instead of overriding the class.
  
  @param $observer
docstring_tokens: Event observer . Triggered before an adminhtml widget template is rendered . We use this to add our action to bulk actions in the sales order grid instead of overriding the class .