![]() |
Represents a CENIP remote exchange. More...
Public Member Functions | |
__construct ($code) | |
Build new instance from the name. More... | |
activate () | |
Activates a newly created exchange, with new structures required. More... | |
deleteExtraData () | |
Delete object data. More... | |
getCurrency () | |
Get currency of this exchange. More... | |
getDefaultAccount () | |
Returns a default, hidden CesBankLocalAccount as model for new accounts. More... | |
getParent () | |
The parent object for those objects using the decorator pattern. More... | |
getRecord () | |
Gets record. More... | |
getVirtualAccount (CesBankExchange $exchange) | |
Get virtual account for this exchange, or create if needed. More... | |
loadRecord ($record) | |
Loads record. More... | |
saveExtraData () | |
Save object data. More... | |
Static Public Member Functions | |
static | getDefaultExchange () |
Returns a default exchange as model for new exchanges. More... | |
Data Fields | |
$admin | |
Administrator user uid. More... | |
$code | |
Code. More... | |
$country | |
Country. More... | |
$created | |
Created. More... | |
$data = array() | |
Data. More... | |
$id | |
Id. More... | |
$limitchain | |
Limitchain. More... | |
$map | |
Map. More... | |
$modified | |
Modified. More... | |
$name | |
Name. More... | |
$region | |
Region. More... | |
$shortname | |
Shortname. More... | |
$state | |
State. More... | |
$town | |
Town. More... | |
$website | |
Website. More... | |
const | DEFAULT_EXCHANGE_ID = 1 |
const | STATE_ACTIVE = 1 |
const | STATE_INACTIVE = 0 |
Static Public Attributes | |
static | $table = 'ces_exchange' |
Protected Member Functions | |
getFreeAccountName () | |
GetFreeAccountName. More... | |
getSimpleRecord () | |
Object simple record. More... | |
Protected Attributes | |
$currency | |
Currency. More... | |
Represents a CENIP remote exchange.
It is a stub in fact.