PHP Class GenerateWorklistsCommand
(C) OpenEyes Foundation, 2016
This file is part of OpenEyes.
OpenEyes is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
OpenEyes is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with OpenEyes in a file titled COPYING. If not, see
.
Afficher le fichier
Open project: openeyes/openeyes
Méthodes publiques
Protected Properties
Méthodes publiques
Méthodes protégées
Méthode |
Description |
|
finish ( integer $exit_code = 1 ) |
Simple wrapper to abstract termination. |
|
setLogLevel ( $verbosity ) |
|
|
Method Details
__construct()
public méthode
GenerateWorklistsCommand constructor.
public __construct ( string $name, CConsoleCommandRunner $runner, WorklistManager $manager = null ) |
$name |
string |
|
$runner |
CConsoleCommandRunner |
|
$manager |
WorklistManager |
|
actionGenerate()
public méthode
public fatal ( $msg, $exit_code = 1 ) |
finish()
protected méthode
Simple wrapper to abstract termination.
getDateLimit()
public méthode
public getDateLimit ( $horizon ) : DateTime |
$horizon |
|
|
Résultat |
DateTime |
|
public output ( $level, $msg ) |
setLogLevel()
protected méthode
Property Details
$DEFAULT_LOG_LEVEL protected_oe static_oe property
protected static $DEFAULT_LOG_LEVEL |
$defaultAction public_oe property
$horizon public_oe property
$log_level protected_oe property
$log_levels protected_oe property
$manager protected_oe property
protected WorklistManager $manager |
Résultat |
WorklistManager |
|
$verbosity public_oe property