コード例 #1
0
ファイル: Shop.class.php プロジェクト: Quaese/ep6client-php
 /**
  * Returns all currencies.
  *
  * @api
  * @author David Pauli <*****@*****.**>
  * @since 0.0.0
  * @return mixed[]|null All currencies in an array or null if the REST call will fail.
  */
 public function getCurrencies()
 {
     return Currencies::getItems();
 }
コード例 #2
0
ファイル: Shop.class.php プロジェクト: dpauli/epages-rest-php
 /**
  * Returns all currencies.
  *
  * @author David Pauli <*****@*****.**>
  * @return mixed[]|null All currencies in an array or null if the REST call will fail.
  * @since 0.0.0
  * @since 0.1.2 Add error reporting.
  */
 public function getCurrencies()
 {
     self::errorReset();
     return Currencies::getItems();
 }