Свойство | Type | Description | |
---|---|---|---|
$commandDescription | string | ||
$commandName | string | ||
$configPath | string | ||
$falseName | string | ||
$scope | string | ||
$toggleComment | string | ||
$trueName | string | ||
$withAdminStore | boolean | Add admin store to interactive prompt |
Méthode | Description | |
---|---|---|
_afterSave ( Mage_Core_Model_Store $store, boolean $disabled ) | ||
_beforeSave ( Mage_Core_Model_Store $store, boolean $disabled ) | ||
_initStore ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
askAndSetDeveloperIp ( Symfony\Component\Console\Output\OutputInterface $output, Mage_Core_Model_Store $store, string | null $devRestriction ) : void | Ask if the developer IP should be changed, and change it if required | |
configure ( ) | ||
detectAskAndSetDeveloperIp ( Mage_Core_Model_Store $store, boolean $enabled ) : void | Determine if a developer restriction is in place, and if we're enabling something that will use it then notify and ask if it needs to be changed from its current value. | |
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void | ||
setDeveloperIp ( Mage_Core_Model_Store $store, string $newDeveloperIp ) | Set the restricted IP for developer access |
protected _afterSave ( Mage_Core_Model_Store $store, boolean $disabled ) | ||
$store | Mage_Core_Model_Store | |
$disabled | boolean |
protected _beforeSave ( Mage_Core_Model_Store $store, boolean $disabled ) | ||
$store | Mage_Core_Model_Store | |
$disabled | boolean |
protected _initStore ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface | |
Résultat | mixed |
protected detectAskAndSetDeveloperIp ( Mage_Core_Model_Store $store, boolean $enabled ) : void | ||
$store | Mage_Core_Model_Store | |
$enabled | boolean | |
Résultat | void |
protected setDeveloperIp ( Mage_Core_Model_Store $store, string $newDeveloperIp ) | ||
$store | Mage_Core_Model_Store | |
$newDeveloperIp | string |
protected bool $withAdminStore | ||
Résultat | boolean |