Subversion Repositories Applications.framework

Rev

Rev 143 | Rev 173 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 143 Rev 145
Line 12... Line 12...
12
* @package   Framework
12
* @package   Framework
13
* @author	aurelien <aurelien@tela-botanica.org>
13
* @author	aurelien <aurelien@tela-botanica.org>
14
* @copyright 2009 Tela-Botanica
14
* @copyright 2009 Tela-Botanica
15
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
15
* @license   http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
16
* @license   http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
16
* @license   http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
17
* @version   SVN: $$Id: Modele.php 143 2010-03-02 13:00:37Z jpm $$
17
* @version   SVN: $$Id: Modele.php 145 2010-03-02 17:23:09Z jpm $$
18
* @link	  /doc/framework/
18
* @link	  /doc/framework/
19
*
19
*
20
*/
20
*/
21
abstract class Modele {
21
abstract class Modele {
Line 72... Line 72...
72
	private $connexion = null;
72
	private $connexion = null;
Line 73... Line 73...
73
 
73
 
74
	/**
74
	/**
75
	 * Constructeur par défaut, appelé à l'initialisation.
75
	 * Constructeur par défaut, appelé à l'initialisation.
76
	 */
76
	 */
77
	final public function __construct() {
77
	public function __construct() {
78
		// les différents paramètres nécessaires sont lus à partir du registre
78
		// les différents paramètres nécessaires sont lus à partir du registre
79
		$this->registre = Registre::getInstance();
79
		$this->registre = Registre::getInstance();
80
		$this->abstraction = strtolower(Config::get('bdd_abstraction'));
80
		$this->abstraction = strtolower(Config::get('bdd_abstraction'));
81
		$this->type = Config::get('bdd_protocole');
81
		$this->type = Config::get('bdd_protocole');