private function connect() { $arrDB = Config::getDateDB(); if (!is_array($arrDB)) { return false; } try { $this->pdoConnection = new PDO("{$arrDB['sgdb']}:host={$arrDB['server']};dbname={$arrDB['name']};", $arrDB['user'], $arrDB['password']); $this->bolStatusConnection = true; } catch (PDOException $pdoe) { Param::setSystemError("Error al realizar la conexion, Mensaje de error[{$pdoe->getMessage()}]"); $this->bolStatusConnection = false; } }