Returns a default exchange as model for new exchanges.
- Returns
- CesBankExchange The default exchange. To be used as a model for new exchanges.
Referenced by CesBank\getDefaultExchange().
1544 'shortname' =>
'Xchange',
1545 'name' =>
'Xchange Default',
1546 'country' =>
'Spain',
1547 'region' =>
'Barcelonès',
1548 'town' =>
'Barcelona',
1549 'website' =>
'http://www.example.com',
1550 'map' =>
'https://maps.google.com/maps?q=barcelona,+spain',
1553 'currencysymbol' =>
'XCR',
1554 'currencyname' =>
'Xcredit',
1555 'currenciesname' =>
'Xcredits',
1556 'currencyvalue' =>
'1',
1557 'currencyscale' => 2,
1558 'created' => REQUEST_TIME,
1559 'modified' => REQUEST_TIME,
1563 $exchange = $s->loadFromRecord($record);
Loads and saves to db objects of class IcesDBObject.
Definition: common.db.logic.inc:17