PHP Class N98\Magento\Command\Indexer\AbstractIndexerCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Mostra file Open project: netz98/n98-magerun

Protected Methods

Method Description
_getIndexerModel ( ) : Mage_Index_Model_Indexer
disableObservers ( ) Disable observer which try to create adminhtml session on CLI
getIndexerList ( ) : array
getRuntime ( $indexer ) : string Returns a readable runtime
getRuntimeInSeconds ( $indexer ) : integer Returns the runtime in total seconds

Method Details

_getIndexerModel() protected method

protected _getIndexerModel ( ) : Mage_Index_Model_Indexer
return Mage_Index_Model_Indexer

disableObservers() protected method

Disable observer which try to create adminhtml session on CLI
protected disableObservers ( )

getIndexerList() protected method

protected getIndexerList ( ) : array
return array

getRuntime() protected method

Returns a readable runtime
protected getRuntime ( $indexer ) : string
$indexer
return string

getRuntimeInSeconds() protected method

Returns the runtime in total seconds
protected getRuntimeInSeconds ( $indexer ) : integer
$indexer
return integer