|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| __construct () | |
| getCurrencies () | |
| getCurrencyByAlphaCode ($codeAlpha) | |
Public Member Functions inherited from DAO | |
| __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) | |
Protected Member Functions | |
| _fromIsoCodeFactoryObject ($currency) | |
Protected Member Functions inherited from DAO | |
| _getInsertId ($table='', $id='') | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
| static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Data Fields inherited from DAO | |
| $_dataSource | |
Operations for retrieving and modifying Currency objects.
Definition at line 21 of file CurrencyDAO.inc.php.
| CurrencyDAO::__construct | ( | ) |
Constructor.
Definition at line 25 of file CurrencyDAO.inc.php.
|
protected |
Create and populate a DataObject-based Currency from the \Sokil\IsoCodes equivalent.
| $currency | Object |
Definition at line 59 of file CurrencyDAO.inc.php.
Referenced by getCurrencies(), and getCurrencyByAlphaCode().
| CurrencyDAO::getCurrencies | ( | ) |
Retrieve an array of all currencies.
Definition at line 46 of file CurrencyDAO.inc.php.
References _fromIsoCodeFactoryObject().
| CurrencyDAO::getCurrencyByAlphaCode | ( | $codeAlpha | ) |
Retrieve a currency by alpha currency ID.
| $codeAlpha | string |
Definition at line 35 of file CurrencyDAO.inc.php.
References _fromIsoCodeFactoryObject().