PluginCommand
extends CConsoleCommand
in package
Table of Contents
Properties
- $connection : mixed
Methods
- actionCron() : void
- Call for cron action
- actionIndex() : void
- Call directly an event by command (it's default)
- init() : mixed
- register some needed or a lot used part
Properties
$connection
public
mixed
$connection
Methods
actionCron()
Call for cron action
public
actionCron([int $interval = null ]) : void
Parameters
- $interval : int = null
-
Minutes for interval
actionIndex()
Call directly an event by command (it's default)
public
actionIndex(string $target[, mixed $function = null ][, mixed $option = null ]) : void
Parameters
- $target : string
-
Target of action, plugin name for example
- $function : mixed = null
-
Extra parameters for plugin
- $option : mixed = null
-
Extra parameters for plugin
init()
register some needed or a lot used part
public
init() : mixed