PHP 클래스 N98\Magento\Command\AbstractMagentoStoreConfigCommand

상속: extends AbstractMagentoCommand
파일 보기 프로젝트 열기: netz98/n98-magerun

보호된 프로퍼티들

프로퍼티 타입 설명
$commandDescription string
$commandName string
$configPath string
$falseName string
$scope string
$toggleComment string
$trueName string
$withAdminStore boolean Add admin store to interactive prompt

보호된 메소드들

메소드 설명
_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

메소드 상세

_afterSave() 보호된 메소드

protected _afterSave ( Mage_Core_Model_Store $store, boolean $disabled )
$store Mage_Core_Model_Store
$disabled boolean

_beforeSave() 보호된 메소드

protected _beforeSave ( Mage_Core_Model_Store $store, boolean $disabled )
$store Mage_Core_Model_Store
$disabled boolean

_initStore() 보호된 메소드

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
리턴 mixed

askAndSetDeveloperIp() 보호된 메소드

Ask if the developer IP should be changed, and change it if required
protected askAndSetDeveloperIp ( Symfony\Component\Console\Output\OutputInterface $output, Mage_Core_Model_Store $store, string | null $devRestriction ) : void
$output Symfony\Component\Console\Output\OutputInterface
$store Mage_Core_Model_Store
$devRestriction string | null
리턴 void

configure() 보호된 메소드

protected configure ( )

detectAskAndSetDeveloperIp() 보호된 메소드

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.
protected detectAskAndSetDeveloperIp ( Mage_Core_Model_Store $store, boolean $enabled ) : void
$store Mage_Core_Model_Store
$enabled boolean
리턴 void

execute() 보호된 메소드

protected execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 integer | void

setDeveloperIp() 보호된 메소드

Set the restricted IP for developer access
protected setDeveloperIp ( Mage_Core_Model_Store $store, string $newDeveloperIp )
$store Mage_Core_Model_Store
$newDeveloperIp string

프로퍼티 상세

$commandDescription 보호되어 있는 프로퍼티

protected string $commandDescription
리턴 string

$commandName 보호되어 있는 프로퍼티

protected string $commandName
리턴 string

$configPath 보호되어 있는 프로퍼티

protected string $configPath
리턴 string

$falseName 보호되어 있는 프로퍼티

protected string $falseName
리턴 string

$scope 보호되어 있는 프로퍼티

protected string $scope
리턴 string

$toggleComment 보호되어 있는 프로퍼티

protected string $toggleComment
리턴 string

$trueName 보호되어 있는 프로퍼티

protected string $trueName
리턴 string

$withAdminStore 보호되어 있는 프로퍼티

Add admin store to interactive prompt
protected bool $withAdminStore
리턴 boolean