PluginCommand

Extends \CConsoleCommand

Methods

Call for cron action

actionCron(int $interval = null) : void

Arguments

$interval

int

Minutes for interval

Call directly an event by command (it's default)

actionIndex(string $target, mixed $function = null, mixed $option = null) : void

Arguments

$target

string

Target of action, plugin name for example

$function

mixed

Extra parameters for plugin

$option

mixed

Extra parameters for plugin

Properties

connection

connection :