public static function getInstance() { if (empty(self::$instance)) { self::$instance = new Database_Notes(); } // Enter the standard statuses in the list of translatable strings. if (false) { Locale_Translate::_("New"); Locale_Translate::_("Pending"); Locale_Translate::_("In progress"); Locale_Translate::_("Done"); Locale_Translate::_("Reopened"); } // Enter the standard severities in the list of translatable strings. if (false) { Locale_Translate::_("Wish"); Locale_Translate::_("Minor"); Locale_Translate::_("Normal"); Locale_Translate::_("Important"); Locale_Translate::_("Major"); Locale_Translate::_("Critical"); } return self::$instance; }