public static function getInstance() { if (self::$m_pInstance == NULL) { self::$m_pInstance = new Database(); } return self::$m_pInstance; }