Activates a newly created exchange, with new structures required.
Creates all the additional structures an exchange needs in order to be operative. This includes:
1646 if (empty($this->limitchain)) {
1649 'exchange' => $this->
id,
1650 'name' =>
'default',
1653 $def_limit_chain = $ls->loadFromRecord($record);
1654 $ls->save($def_limit_chain);
1656 $this->limitchain = $def_limit_chain->id;
1657 $es->updateField($this,
'limitchain');
1659 $this->state = CesBankExchange::STATE_ACTIVE;
Loads and saves to db objects of class IcesDBObject.
Definition: common.db.logic.inc:17