mixed loadCountryList(
[string
$from = 'hard'], [bool
$useCache = TRUE], [bool
$autoFallback = TRUE])
|
|
feel free to write other load methods. file, db.
param $autoFallback: if you try to load the fresh list from the db and that fails, it's a good idea to use the hardcoded fallback data. the priorities are like this: 1) db 2) file 3) hard(coded) 4) return false check the returned value.
Tags:
Parameters: