PHP 인터페이스 Neos\ContentRepository\Command\NodeCommandControllerPluginInterface

파일 보기 프로젝트 열기: neos/neos-development-collection

공개 메소드들

메소드 설명
getSubCommandDescription ( string $controllerCommandName ) : string Returns a piece of description for the specific task the plugin solves for the specified command
getSubCommandShortDescription ( string $controllerCommandName ) : string Returns a short description for the specific task the plugin solves for the specified command
invokeSubCommand ( string $controllerCommandName, ConsoleOutput $output, NodeType $nodeType = null, string $workspaceName = 'live', boolean $dryRun = false, boolean $cleanup = true ) : void A method which runs the task implemented by the plugin for the given command

메소드 상세

getSubCommandDescription() 공개 정적인 메소드

Returns a piece of description for the specific task the plugin solves for the specified command
public static getSubCommandDescription ( string $controllerCommandName ) : string
$controllerCommandName string Name of the command in question, for example "repair"
리턴 string A piece of text to be included in the overall description of the node:xy command

getSubCommandShortDescription() 공개 정적인 메소드

Returns a short description for the specific task the plugin solves for the specified command
public static getSubCommandShortDescription ( string $controllerCommandName ) : string
$controllerCommandName string Name of the command in question, for example "repair"
리턴 string A brief description / summary for the task this plugin is going to do

invokeSubCommand() 공개 메소드

A method which runs the task implemented by the plugin for the given command
public invokeSubCommand ( string $controllerCommandName, ConsoleOutput $output, NodeType $nodeType = null, string $workspaceName = 'live', boolean $dryRun = false, boolean $cleanup = true ) : void
$controllerCommandName string Name of the command in question, for example "repair"
$output Neos\Flow\Cli\ConsoleOutput An instance of ConsoleOutput which can be used for output or dialogues
$nodeType Neos\ContentRepository\Domain\Model\NodeType Only handle this node type (if specified)
$workspaceName string Only handle this workspace (if specified)
$dryRun boolean If TRUE, don't do any changes, just simulate what you would do
$cleanup boolean If FALSE, cleanup tasks are skipped
리턴 void