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

Inheritance: extends N98\Magento\Command\AbstractMagentoCommand
Afficher le fichier Open project: netz98/n98-magerun

Méthodes protégées

Méthode 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 méthode

Get an instance of cms/block
protected _getBlockModel ( ) : Mage_Cms_Model_Block
Résultat Mage_Cms_Model_Block

configure() protected méthode

Configure command
protected configure ( )

execute() protected méthode

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
Résultat integer | null | void