PHP 클래스 N98\Magento\Command\Developer\Module\UpdateCommand

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

보호된 프로퍼티들

프로퍼티 타입 설명
$baseFolder string
$codePool string
$configNodes array
$moduleDirectory string
$moduleName string
$testMode boolean
$vendorNamespace string

공개 메소드들

메소드 설명
getTestMode ( ) : boolean
setTestMode ( boolean $testMode )

보호된 메소드들

메소드 설명
addDefault ( SimpleXMLElement $simpleXml )
addEvent ( SimpleXMLElement $simpleXml, $area, $event )
addGlobalNode ( SimpleXMLElement $configXml, string $type, string $classSuffix )
addLayoutUpdate ( SimpleXMLElement $simpleXml, $area, $module )
addResourceModel ( SimpleXMLElement $simpleXml )
addResourceModelNodeIfConfirmed ( Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml )
addRouter ( SimpleXMLElement $simpleXml, $area )
addTranslate ( SimpleXMLElement $simpleXml, $area, $module )
asPrettyXml ( string $string ) : string Formats given string as pretty xml
askDefaultOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for default node options
askEventsOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for events node options
askLayoutUpdatesOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for layout updates node options
askResourceModelOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for routers node options
askRoutersOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for routers node options
askTranslateOptions ( Symfony\Component\Console\Output\OutputInterface $output ) Asks for translate node options
configure ( )
determineModuleCodePool ( ) : string Find module codepool from module directory
execute ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : integer | void
getConfigXml ( ) : SimpleXMLElement Gets config XML
getCurrentConfigContent ( ) : string Returns current content of /etc/config.xml
getDialog ( ) : DialogHelper
getLowercaseModuleName ( ) : string
getLowercaseModuleNamespace ( ) : string
getModuleDir ( ) : string
getModuleNamespace ( ) : string Gets module namespace e.g. Company_Modulename
getOutFile ( ) : string
hasAddDefaultOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
hasAddEventsOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
hasAddLayoutUpdatesOptions ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
hasAddResourceModelOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
hasAddRoutersOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
hasAddTranslateOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
initArguments ( Symfony\Component\Console\Input\InputInterface $input )
initDefaultConfigNodes ( ) Initiates resource nodes specific values
initEventsConfigNodes ( ) Initiates events config nodes specific values
initLayoutUpdatesConfigNodes ( ) Initiates layout updates nodes specific values
initResourceModelConfigNodes ( ) Initiates resource nodes specific values
initRoutersConfigNodes ( ) Initiates routers config nodes specific values
initTranslateConfigNodes ( ) Initiates layout updates nodes specific values
putConfigXml ( SimpleXMLElement $configXml )
removeChildNodeIfNotNull ( $node, $child ) Removes a child node if not null.
setDefaultNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setEventsNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setGlobalNode ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml ) Sets global xml config node
setLayoutUpdatesNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setModuleDirectory ( string $moduleDir )
setResourceModelNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setRoutersNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setTranslateNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
setVersion ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml )
shouldAddAll ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
shouldAddBlocks ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
shouldAddHelpers ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
shouldAddModels ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
shouldSetVersion ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
writeModuleConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Writes module config file for given options

메소드 상세

addDefault() 보호된 메소드

protected addDefault ( SimpleXMLElement $simpleXml )
$simpleXml SimpleXMLElement

addEvent() 보호된 메소드

protected addEvent ( SimpleXMLElement $simpleXml, $area, $event )
$simpleXml SimpleXMLElement
$area
$event

addGlobalNode() 보호된 메소드

protected addGlobalNode ( SimpleXMLElement $configXml, string $type, string $classSuffix )
$configXml SimpleXMLElement
$type string e.g. "blocks"
$classSuffix string e.g. "_Block"

addLayoutUpdate() 보호된 메소드

protected addLayoutUpdate ( SimpleXMLElement $simpleXml, $area, $module )
$simpleXml SimpleXMLElement
$area
$module

addResourceModel() 보호된 메소드

protected addResourceModel ( SimpleXMLElement $simpleXml )
$simpleXml SimpleXMLElement

addResourceModelNodeIfConfirmed() 보호된 메소드

protected addResourceModelNodeIfConfirmed ( Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml )
$output Symfony\Component\Console\Output\OutputInterface
$configXml SimpleXMLElement

addRouter() 보호된 메소드

protected addRouter ( SimpleXMLElement $simpleXml, $area )
$simpleXml SimpleXMLElement
$area

addTranslate() 보호된 메소드

protected addTranslate ( SimpleXMLElement $simpleXml, $area, $module )
$simpleXml SimpleXMLElement
$area
$module

asPrettyXml() 보호된 메소드

Formats given string as pretty xml
protected asPrettyXml ( string $string ) : string
$string string
리턴 string

askDefaultOptions() 보호된 메소드

Asks for default node options
protected askDefaultOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

askEventsOptions() 보호된 메소드

Asks for events node options
protected askEventsOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

askLayoutUpdatesOptions() 보호된 메소드

Asks for layout updates node options
protected askLayoutUpdatesOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

askResourceModelOptions() 보호된 메소드

Asks for routers node options
protected askResourceModelOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

askRoutersOptions() 보호된 메소드

Asks for routers node options
protected askRoutersOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

askTranslateOptions() 보호된 메소드

Asks for translate node options
protected askTranslateOptions ( Symfony\Component\Console\Output\OutputInterface $output )
$output Symfony\Component\Console\Output\OutputInterface

configure() 보호된 메소드

protected configure ( )

determineModuleCodePool() 보호된 메소드

Find module codepool from module directory
protected determineModuleCodePool ( ) : string
리턴 string

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

getConfigXml() 보호된 메소드

Gets config XML
protected getConfigXml ( ) : SimpleXMLElement
리턴 SimpleXMLElement

getCurrentConfigContent() 보호된 메소드

Returns current content of /etc/config.xml
protected getCurrentConfigContent ( ) : string
리턴 string

getDialog() 보호된 메소드

protected getDialog ( ) : DialogHelper
리턴 Symfony\Component\Console\Helper\DialogHelper

getLowercaseModuleName() 보호된 메소드

protected getLowercaseModuleName ( ) : string
리턴 string

getLowercaseModuleNamespace() 보호된 메소드

protected getLowercaseModuleNamespace ( ) : string
리턴 string

getModuleDir() 보호된 메소드

protected getModuleDir ( ) : string
리턴 string

getModuleNamespace() 보호된 메소드

Gets module namespace e.g. Company_Modulename
protected getModuleNamespace ( ) : string
리턴 string

getOutFile() 보호된 메소드

protected getOutFile ( ) : string
리턴 string

getTestMode() 공개 메소드

public getTestMode ( ) : boolean
리턴 boolean

hasAddDefaultOption() 보호된 메소드

protected hasAddDefaultOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

hasAddEventsOption() 보호된 메소드

protected hasAddEventsOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

hasAddLayoutUpdatesOptions() 보호된 메소드

protected hasAddLayoutUpdatesOptions ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

hasAddResourceModelOption() 보호된 메소드

protected hasAddResourceModelOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

hasAddRoutersOption() 보호된 메소드

protected hasAddRoutersOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

hasAddTranslateOption() 보호된 메소드

protected hasAddTranslateOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

initArguments() 보호된 메소드

protected initArguments ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface

initDefaultConfigNodes() 보호된 메소드

Initiates resource nodes specific values
protected initDefaultConfigNodes ( )

initEventsConfigNodes() 보호된 메소드

Initiates events config nodes specific values
protected initEventsConfigNodes ( )

initLayoutUpdatesConfigNodes() 보호된 메소드

Initiates layout updates nodes specific values

initResourceModelConfigNodes() 보호된 메소드

Initiates resource nodes specific values

initRoutersConfigNodes() 보호된 메소드

Initiates routers config nodes specific values
protected initRoutersConfigNodes ( )

initTranslateConfigNodes() 보호된 메소드

Initiates layout updates nodes specific values
protected initTranslateConfigNodes ( )

putConfigXml() 보호된 메소드

protected putConfigXml ( SimpleXMLElement $configXml )
$configXml SimpleXMLElement

removeChildNodeIfNotNull() 보호된 메소드

Deals with duplications of nodes when already in config
protected removeChildNodeIfNotNull ( $node, $child )
$node
$child

setDefaultNode() 보호된 메소드

protected setDefaultNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setEventsNode() 보호된 메소드

protected setEventsNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setGlobalNode() 보호된 메소드

Sets global xml config node
protected setGlobalNode ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$configXml SimpleXMLElement

setLayoutUpdatesNode() 보호된 메소드

protected setLayoutUpdatesNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setModuleDirectory() 보호된 메소드

protected setModuleDirectory ( string $moduleDir )
$moduleDir string

setResourceModelNode() 보호된 메소드

protected setResourceModelNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setRoutersNode() 보호된 메소드

protected setRoutersNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setTestMode() 공개 메소드

public setTestMode ( boolean $testMode )
$testMode boolean

setTranslateNode() 보호된 메소드

protected setTranslateNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$configXml SimpleXMLElement

setVersion() 보호된 메소드

protected setVersion ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
$configXml SimpleXMLElement

shouldAddAll() 보호된 메소드

protected shouldAddAll ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

shouldAddBlocks() 보호된 메소드

protected shouldAddBlocks ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

shouldAddHelpers() 보호된 메소드

protected shouldAddHelpers ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

shouldAddModels() 보호된 메소드

protected shouldAddModels ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

shouldSetVersion() 보호된 메소드

protected shouldSetVersion ( Symfony\Component\Console\Input\InputInterface $input ) : mixed
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed

writeModuleConfig() 보호된 메소드

Writes module config file for given options
protected writeModuleConfig ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

프로퍼티 상세

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

protected string $baseFolder
리턴 string

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

protected string $codePool
리턴 string

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

protected array $configNodes
리턴 array

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

protected string $moduleDirectory
리턴 string

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

protected string $moduleName
리턴 string

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

protected bool $testMode
리턴 boolean

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

protected string $vendorNamespace
리턴 string