Ejemplo n.º 1
0
 /**
  * Set configured Currency.
  *
  * @api
  * @author David Pauli <*****@*****.**>
  * @since 0.1.0
  * @param String $locale The new used Locale.
  * @return boolean True if set the Locale works, false if not.
  */
 public function setCurrency($currency)
 {
     return Currencies::setCurrency($currency);
 }
Ejemplo n.º 2
0
 /**
  * Set configured Currency.
  *
  * @author David Pauli <*****@*****.**>
  * @param String $locale The new used Locale.
  * @return boolean True if set the Locale works, false if not.
  * @since 0.1.0
  * @since 0.1.2 Add error reporting.
  */
 public function setUsedCurrency($currency)
 {
     self::errorReset();
     return Currencies::setCurrency($currency);
 }