2,15 → 2,15 |
//declare(encoding='UTF-8'); |
/** |
* Exemple de lancement du script : : |
* /opt/lampp/bin/php cli.php coste -a chargerTous |
* /opt/lampp/bin/php cli.php adeterminer -a alerteMail |
* |
* @category php 5.2 |
* @package eFlore/Scripts |
* @category php 5.4 |
* @package DEL |
* @subpackage Scripts |
* @author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
* @copyright Copyright (c) 2012, Tela Botanica (accueil@tela-botanica.org) |
* @license http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL |
* @license http://www.gnu.org/licenses/gpl.html Licence GNU-GPL |
* @version $Id$ |
* @copyright Copyright (c) 2012-2014, Tela Botanica (accueil@tela-botanica.org) |
* @license CeCILL v2 http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt |
* @license GNU-GPL http://www.gnu.org/licenses/gpl.html |
*/ |
class Adeterminer extends DelScript { |
|
32,10 → 32,11 |
$this->traiterErreur($e->getMessage()); |
} |
} |
|
|
private function chargerClasse($classe) { |
require_once $classe.'.php'; |
return new $classe($this->parametres, $this); |
$conteneur = new Conteneur($this->parametres); |
return new $classe($conteneur); |
} |
} |
?> |