[ Mini Kiebo ]
Server: Windows NT DESKTOP-5B8S0D4 6.2 build 9200 (Windows 8 Professional Edition) i586
Path:
D:
/
Backup
/
14082024
/
Data
/
htdocs
/
htdocs
/
ojs
/
248
/
lib
/
pkp
/
classes
/
currency
/
[
Home
]
File: Currency.inc.php
<?php /** * @defgroup currency */ /** * @file classes/currency/Currency.inc.php * * Copyright (c) 2013-2019 Simon Fraser University * Copyright (c) 2000-2019 John Willinsky * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING. * * @class Currency * @ingroup currency * @see CurrencyDAO * * @brief Basic class describing a currency. * */ class Currency extends DataObject { /** * Constructor */ function Currency() { parent::DataObject(); } // // Get/set methods // /** * Get the name of the currency. * @return string */ function getName() { return $this->getData('name'); } /** * Set the name of the currency. * @param $name string */ function setName($name) { return $this->setData('name', $name); } /** * Get currency alpha code. * @return string */ function getCodeAlpha() { return $this->getData('codeAlpha'); } /** * Set currency alpha code. * @param $alphaCode string */ function setCodeAlpha($codeAlpha) { return $this->setData('codeAlpha', $codeAlpha); } /** * Get currency numeric code. * @return int */ function getCodeNumeric() { return $this->getData('codeNumeric'); } /** * Set currency numeric code. * @param $codeNumeric string */ function setCodeNumeric($codeNumeric) { return $this->setData('codeNumeric', $codeNumeric); } } ?>