PHP Class N98\Magento\Command\Cms\Block\ToggleCommand

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Datei anzeigen Open project: netz98/n98-magerun

Protected Methods

Method Description
_getBlockModel ( ) : Mage_Cms_Model_Block Get an instance of cms/block
configure ( ) Configure command
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void Execute the command

Method Details

_getBlockModel() protected method

Get an instance of cms/block
protected _getBlockModel ( ) : Mage_Cms_Model_Block
return Mage_Cms_Model_Block

configure() protected method

Configure command
protected configure ( )

execute() protected method

Execute the command
protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | null | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
return integer | null | void