/** * Méthode appelée afin de clore l'application * @return void */ public static function endApplication() { self::$instance_controller = null; self::$action = null; self::$controller = null; self::$application = null; self::$module = null; self::$path_to_application = null; self::$path_to_components = null; self::$path_to_theme = null; self::$path_to_templates = null; Singleton::dispose(); DBManager::dispose(); exit; }
/** * @static * @var String $pHandler * @return int */ public static function getErrorNumber($pHandler = "default") { return DBManager::get($pHandler)->getErrorNumber(); }
/** * Méthode de récupération de lé clé primaire venant d'être générée par la base de données * @return int */ public function getInsertId() { return DBManager::get($this->handler)->getInsertId(); }