public static function getDb() { if (is_null(Countrycodes::$db)) { Countrycodes::$db = CoughDatabaseFactory::getDatabase(Countrycodes::$dbName); } return Countrycodes::$db; }
public static function getLoadSql() { $tableName = Countrycodes::getTableName(); return ' SELECT `' . $tableName . '`.* FROM `' . Countrycodes::getDbName() . '`.`' . $tableName . '` '; }