Class DummyCommand
A test area for executing experimental PHP code inside of a Yii run
environment.
-
CComponent
-
CConsoleCommand
-
DummyCommand
Methods summary
public
integer
|
#
run( array $args )
Executes the command. The default implementation will parse the input
parameters and dispatch the command request to an appropriate action with the
corresponding option values
Executes the command. The default implementation will parse the input
parameters and dispatch the command request to an appropriate action with the
corresponding option values
Parameters
- $args
array $args command line parameters for this command.
Returns
integer application exit code, which is returned by the invoked action. 0 if the action
did not return anything. (return value is available since version 1.1.11)
Overrides
CConsoleCommand::run()
|
Methods inherited from CConsoleCommand
__construct(),
afterAction(),
beforeAction(),
behaviors(),
buildFileList(),
confirm(),
copyFiles(),
ensureDirectory(),
getCommandRunner(),
getHelp(),
getName(),
getOptionHelp(),
init(),
onAfterAction(),
onBeforeAction(),
pluralize(),
prompt(),
renderFile(),
resolveRequest(),
usageError()
|
Methods inherited from CComponent
__call(),
__get(),
__isset(),
__set(),
__unset(),
asa(),
attachBehavior(),
attachBehaviors(),
attachEventHandler(),
canGetProperty(),
canSetProperty(),
detachBehavior(),
detachBehaviors(),
detachEventHandler(),
disableBehavior(),
disableBehaviors(),
enableBehavior(),
enableBehaviors(),
evaluateExpression(),
getEventHandlers(),
hasEvent(),
hasEventHandler(),
hasProperty(),
raiseEvent()
|
Properties inherited from CConsoleCommand
$defaultAction
|
Magic properties inherited from CConsoleCommand
$commandRunner,
$help,
$name,
$optionHelp
|