Свойство | Тип | Описание | |
---|---|---|---|
$file | the XML file listing the tasks to be executed | ||
$taskDao | the DAO object |
Метод | Описание | |
---|---|---|
__construct ( $argv = [] ) | Constructor. | |
execute ( ) | Parse and execute the scheduled tasks. | |
executeTask ( $className, $args ) | Execute the specified task. | |
parseTasks ( $file ) | Parse and execute the scheduled tasks in the specified file. | |
usage ( ) | Print command usage information. |
public __construct ( $argv = [] ) | ||
$argv | array command-line arguments If specified, the first parameter should be the path to a tasks XML descriptor file (other than the default) |
public executeTask ( $className, $args ) | ||
$className | string the class name to execute | |
$args | array the array of arguments to pass to the class constructors |
public parseTasks ( $file ) | ||
$file | string |