Example #1
0
 public static function getInstance()
 {
     if (!isset(self::$instance)) {
         self::$instance = new Storage_Mysql();
     }
     return self::$instance;
 }
Example #2
0
 public function shutdown($myRole, $drivers)
 {
     if (method_exists($this->_mysql, "shutdown")) {
         $this->_mysql->shutdown($myRole, $drivers);
     }
 }