Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct () | |
getCountries () | |
getCountry ($code) | |
![]() | |
__construct ($dataSource=null, $callHooks=true) | |
concat () | |
convertFromDB ($value, $type) | |
convertToDB ($value, &$type) | |
dateFromDB ($d) | |
datetimeFromDB ($dt) | |
datetimeToDB ($dt) | |
dateToDB ($d) | |
flushCache () | |
formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
getAdditionalFieldNames () | |
getAffectedRows () | |
getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
getDataSource () | |
getDirectionMapping ($direction) | |
getDriver () | |
getLocaleFieldNames () | |
getType ($value) | |
handleError ($dataSource, $sql) | |
nullOrInt ($value) | |
replace ($table, $arrFields, $keyCols) | |
& | retrieve ($sql, $params=false, $callHooks=true) |
& | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
& | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
& | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
setCacheDir () | |
setDataSource ($dataSource) | |
update ($sql, $params=false, $callHooks=true, $dieOnError=true) | |
updateDataObjectSettings ($tableName, $dataObject, $idArray) | |
Additional Inherited Members | |
![]() | |
static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
![]() | |
$_dataSource | |
![]() | |
_getInsertId ($table='', $id='') | |
Definition at line 19 of file CountryDAO.inc.php.
CountryDAO::__construct | ( | ) |
Constructor.
Definition at line 23 of file CountryDAO.inc.php.
CountryDAO::getCountries | ( | ) |
Return a list of all countries.
$locale | string Name of locale (optional) |
Definition at line 33 of file CountryDAO.inc.php.
CountryDAO::getCountry | ( | $code | ) |
Return a translated country name, given a code.
Definition at line 48 of file CountryDAO.inc.php.