PHP Class Aoe_Scheduler_Block_Adminhtml_Scheduler_Grid, Aoe_Scheduler

Author: Fabrizio Branca
Inheritance: extends Mage_Adminhtml_Block_Widget_Grid
Exibir arquivo Open project: aoepeople/aoe_scheduler

Public Methods

Method Description
__construct ( ) Constructor. Set basic parameters
decorateMessages ( string $value, Aoe_Scheduler_Model_Schedule $row ) : string Decorate message
getGridUrl ( ) : string Helper function to receive grid functionality urls for current grid

Protected Methods

Method Description
_afterLoadCollection ( ) : void Helper function to do after load modifications
_filterStoreCondition ( Mage_Core_Model_Mysql4_Collection_Abstract $collection, Mage_Adminhtml_Block_Widget_Grid_Column $column ) : void Helper function to add store filter condition
_prepareCollection ( ) Preparation of the data that is displayed by the grid.
_prepareColumns ( ) Preparation of the requested columns of the grid
_prepareMassaction ( ) Add mass-actions to grid

Method Details

__construct() public method

Constructor. Set basic parameters
public __construct ( )

_afterLoadCollection() protected method

Helper function to do after load modifications
protected _afterLoadCollection ( ) : void
return void

_filterStoreCondition() protected method

Helper function to add store filter condition
protected _filterStoreCondition ( Mage_Core_Model_Mysql4_Collection_Abstract $collection, Mage_Adminhtml_Block_Widget_Grid_Column $column ) : void
$collection Mage_Core_Model_Mysql4_Collection_Abstract Data collection
$column Mage_Adminhtml_Block_Widget_Grid_Column Column information to be filtered
return void

_prepareCollection() protected method

Preparation of the data that is displayed by the grid.
protected _prepareCollection ( )

_prepareColumns() protected method

Preparation of the requested columns of the grid
protected _prepareColumns ( )

_prepareMassaction() protected method

Add mass-actions to grid
protected _prepareMassaction ( )

decorateMessages() public method

Decorate message
public decorateMessages ( string $value, Aoe_Scheduler_Model_Schedule $row ) : string
$value string
$row Aoe_Scheduler_Model_Schedule
return string

getGridUrl() public method

Helper function to receive grid functionality urls for current grid
public getGridUrl ( ) : string
return string Requested URL