Свойство | Тип | Описание | |
---|---|---|---|
$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 ( ) : |
||
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 |
protected addDefault ( SimpleXMLElement $simpleXml ) | ||
$simpleXml | SimpleXMLElement |
protected addEvent ( SimpleXMLElement $simpleXml, $area, $event ) | ||
$simpleXml | SimpleXMLElement | |
$area | ||
$event |
protected addGlobalNode ( SimpleXMLElement $configXml, string $type, string $classSuffix ) | ||
$configXml | SimpleXMLElement | |
$type | string | e.g. "blocks" |
$classSuffix | string | e.g. "_Block" |
protected addLayoutUpdate ( SimpleXMLElement $simpleXml, $area, $module ) | ||
$simpleXml | SimpleXMLElement | |
$area | ||
$module |
protected addResourceModel ( SimpleXMLElement $simpleXml ) | ||
$simpleXml | SimpleXMLElement |
protected addResourceModelNodeIfConfirmed ( Symfony\Component\Console\Output\OutputInterface $output, SimpleXMLElement $configXml ) | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$configXml | SimpleXMLElement |
protected addRouter ( SimpleXMLElement $simpleXml, $area ) | ||
$simpleXml | SimpleXMLElement | |
$area |
protected addTranslate ( SimpleXMLElement $simpleXml, $area, $module ) | ||
$simpleXml | SimpleXMLElement | |
$area | ||
$module |
protected asPrettyXml ( string $string ) : string | ||
$string | string | |
Результат | string |
protected askDefaultOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected askEventsOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected askLayoutUpdatesOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected askResourceModelOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected askRoutersOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected askTranslateOptions ( Symfony\Component\Console\Output\OutputInterface $output ) | ||
$output | Symfony\Component\Console\Output\OutputInterface |
protected determineModuleCodePool ( ) : string | ||
Результат | string |
protected getConfigXml ( ) : SimpleXMLElement | ||
Результат | SimpleXMLElement |
protected getCurrentConfigContent ( ) : string | ||
Результат | string |
protected getDialog ( ) : |
||
Результат |
protected getLowercaseModuleName ( ) : string | ||
Результат | string |
protected getLowercaseModuleNamespace ( ) : string | ||
Результат | string |
protected getModuleNamespace ( ) : string | ||
Результат | string |
protected hasAddDefaultOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected hasAddEventsOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected hasAddLayoutUpdatesOptions ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected hasAddResourceModelOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected hasAddRoutersOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected hasAddTranslateOption ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected initArguments ( Symfony\Component\Console\Input\InputInterface $input ) | ||
$input | Symfony\Component\Console\Input\InputInterface |
protected initDefaultConfigNodes ( ) |
protected initEventsConfigNodes ( ) |
protected initLayoutUpdatesConfigNodes ( ) |
protected initResourceModelConfigNodes ( ) |
protected initRoutersConfigNodes ( ) |
protected initTranslateConfigNodes ( ) |
protected putConfigXml ( SimpleXMLElement $configXml ) | ||
$configXml | SimpleXMLElement |
protected removeChildNodeIfNotNull ( $node, $child ) | ||
$node | ||
$child |
protected setDefaultNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
protected setEventsNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
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 |
protected setLayoutUpdatesNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
protected setModuleDirectory ( string $moduleDir ) | ||
$moduleDir | string |
protected setResourceModelNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
protected setRoutersNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
protected setTranslateNode ( Symfony\Component\Console\Input\InputInterface $input, SimpleXMLElement $configXml ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$configXml | SimpleXMLElement |
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 |
protected shouldAddAll ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected shouldAddBlocks ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected shouldAddHelpers ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected shouldAddModels ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
protected shouldSetVersion ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed |
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 |