+ /**
+ * translate a list of items
+ * @param Pman_Core_DataObjects_Person $au Authenticated user
+ * @param String $type c/l/m
+ * @param String $k 'comma' seperated list of keys to translate
+ */
+
+ function translateList($au, $type, $k)
+ {
+ $ar = explode(',', $k);
+ $ret = array();
+ foreach($ar as $kk) {
+ $ret[] = $this->translate($au, $type, $kk);
+ }
+ return implode(', ', $ret);
+ }
+ /**
+ * DO NOT USE THIS -- see core_curr_rates dataobject.
+ */
+
+
+ function convertCurrency($val, $from, $to)
+ {
+
+ return DB_DAtaObject::Factory('core_curr_rate')->convert($val,$from,$to);
+
+ }
+ /**
+ * DO NOT USE THIS -- see core_curr_rates dataobject.
+ *
+ */
+
+
+
+ function loadRates()
+ {
+ static $rates = array();
+
+ if (!empty($rates)) {
+ $this->rates = $rates;
+ return;
+ }
+
+ $this->rates = $rates = DB_DAtaObject::Factory('core_curr_rate')->currentRates();
+
+ }
+
+