Changeset 468 for trunk/lib/Currency.inc.php
- Timestamp:
- Feb 20, 2014 3:03:59 AM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
-
Property
svn:mergeinfo
set to
/branches/eli_branch merged eligible
-
Property
svn:mergeinfo
set to
-
trunk/lib/Currency.inc.php
r411 r468 41 41 42 42 // Configuration parameters for this object. 43 var$_params = array(43 private $_params = array( 44 44 'cache_result' => true, 45 45 'cache_dir' => '', … … 52 52 * Cart constructor. 53 53 */ 54 function Currency($params=array())54 public function __construct($params=array()) 55 55 { 56 56 $app =& App::getInstance(); … … 79 79 * @param array $params Array of param keys and values to set. 80 80 */ 81 function setParam($params=null)81 public function setParam($params=null) 82 82 { 83 83 if (isset($params) && is_array($params)) { … … 94 94 * @return mixed Configured parameter value. 95 95 */ 96 function getParam($param)96 public function getParam($param) 97 97 { 98 98 $app =& App::getInstance(); … … 118 118 * @since 05 May 2008 23:50:59 119 119 */ 120 function getValue($amount, $base, $target)120 public function getValue($amount, $base, $target) 121 121 { 122 122 if (false !== $rate = $this->getRate($base, $target)) { … … 138 138 * @since 25 May 2011 01:26:24 139 139 */ 140 function getRate($base, $target)140 public function getRate($base, $target) 141 141 { 142 142 $app =& App::getInstance(); … … 180 180 * @access private 181 181 */ 182 function _performAPICall($parameters=null)182 private function _performAPICall($parameters=null) 183 183 { 184 184 $app =& App::getInstance(); … … 251 251 252 252 253 ?>
Note: See TracChangeset
for help on using the changeset viewer.