Referencia de la Clase CesInteropCENIPBank

Extension of CesBank for CEN protocol. Más...

Diagrama de herencias de CesInteropCENIPBank
CesBank

Métodos públicos

 acceptTransaction ($transaction_id, $account_id, $force=FALSE)
 Accept a transaction. Más...
 
 access ($permission, $object, $objectid, $account=NULL)
 TODO Documentation. Más...
 
 activateAccount (array &$record)
 Updates and activates an account. Más...
 
 activateExchange (array &$record)
 Updates and activates an exchange. Más...
 
 applyTransaction ($transaction_id)
 Applies a transaction given its id. Más...
 
 createAccount (array &$record, $send_mail=TRUE)
 Creates a banking account. Más...
 
 createExchange (array &$record)
 Create exchange. Más...
 
 createLimitChain (array &$record)
 Creates a limit chain object. Más...
 
 createPermission (array &$record)
 Create permission object. Más...
 
 createTransaction (array &$record)
 Creates a transaction object. Más...
 
 deleteAccount ($id)
 Deletes an account. Más...
 
 deleteAccountsCheck ($arrayaids, $context= 'account')
 Check if it's possible to delete accounts or exchange. Más...
 
 deleteExchange ($id)
 Deletes an exchange. Más...
 
 deleteLimitChain ($id)
 Deletes a limit chain. Más...
 
 deletePermission ($id)
 Delete permission given its id. Más...
 
 deleteTransaction ($id)
 Delete transaction. Más...
 
 deleteUsers (array $users)
 Delete or cancel drupal users and all content associated. Más...
 
 formatAmount ($amount, $exchange, $symbol=FALSE, $sign=FALSE)
 Formats the amount for an exchange. Más...
 
 getAccount ($id)
 Gets a banking account. Más...
 
 getAccountByName ($name)
 Gets an account object record by its name. Más...
 
 getAccountHistoricBalance ($id, $time)
 Gets an account's historic balance at a certain time point. Más...
 
 getAccountHistoricPurchases ($id, $from, $to=NULL)
 Gets an account's historic purchases. Más...
 
 getAccountHistoricSales ($id, $from, $to=NULL)
 Gets an account's historic sales. Más...
 
 getAdministrablePermissions ($userid=NULL)
 Get the records with permissions for this user id. Más...
 
 getAllAccounts (array $conditions=array('state'=> 1), $order=NULL)
 Get all accounts that meet certain conditions. Más...
 
 getAllExchanges (array $conditions=array('state'=> 1))
 Gets all exchanges under certain conditions. Más...
 
 getAllLimitChains ($exchange_id)
 Get all limit chains object records for this exchange. Más...
 
 getCesBankDecoratedTransactionClasses ()
 Get names of classes implementing CesBankDecoratedTransaction interface. Más...
 
 getDefaultAccount ($exchange_id)
 Gets default account object record for given exchange. Más...
 
 getDefaultExchange ()
 Gets the default exchange object record. Más...
 
 getDefaultLimitChain ($exchange_id)
 Gets default limit chain object record. Más...
 
 getExchange ($id)
 Gets the exchange from its id. Más...
 
 getExchangeByName ($name)
 Gets the exchange object by name. Más...
 
 getExchangeByNid ($nid)
 Get echange given its NID. Más...
 
 getLimitChain ($id)
 Gets a limit chain object record. Más...
 
 getPermission ($id)
 Get the permission object record. Más...
 
 getTransaction ($id)
 Get a transaction record. Más...
 
 getTransactionAmount (array $transaction, array $exchange)
 Get a transaction amount in a specific exchange currency. Más...
 
 getTransactionByTxid ($txid)
 Get transaction given its CEN id. Más...
 
 getTransactionFromAccount (array $record)
 Get the buyer's account given a transaction. Más...
 
 getTransactionLog (array $transaction)
 Return the array of transaction messages for the current transaction state. Más...
 
 getTransactions (array $conditions, $order_field= 'created', $order_type= 'ASC')
 Gets transaction object records based on conditions. Más...
 
 getTransactionState (array $transaction)
 Get the state of this trasaction. Más...
 
 getTransactionToAccount (array $record)
 Get the seller's account given a transaction. Más...
 
 getUserAccounts ($uid)
 Get user accounts. Más...
 
 rejectTransaction ($transaction_id)
 Reject a transaction. Más...
 
 updateAccount (array &$record)
 Updates a banking account. Más...
 
 updateCesBankPermission (array &$record)
 Update permission. Más...
 
 updateExchange (array &$record)
 Updates the exchange record. Más...
 
 updateLimitChain (array &$record)
 Updates a limit chain object. Más...
 
 updateTransaction (array &$record)
 Updates the transaction record. Más...
 

Métodos protegidos

 getAccountHistoricValue ($id, $field, $from, $to)
 Gets an account's historic value. Más...
 
 getObject ($class_name, $id)
 TODO: document. Más...
 
 getObjectRecord ($class_name, $id)
 Get record in object based on id with given classname. Más...
 
 newIncomingTransaction (array &$record)
 Create remote incoming transaction. Más...
 
 newOutgoingTransaction (array &$record)
 Create remote outgoing transaction. Más...
 
 newTransaction (array &$record)
 Creates a transaction object. Más...
 
 notifyTransaction (CesBankTransactionInterface $transaction)
 Notifies the applied transaction. Más...
 
 notifyTransactionAccount ($message_key, $account_name, $params)
 Triggers notification for transaction account. Más...
 
 transactionFormToRecord ($record)
 Auxiliar. Más...
 
 updateObject ($class_name, array &$record)
 Update object in classname with array of records. Más...
 

Descripción detallada

Extension of CesBank for CEN protocol.


La documentación para esta clase fue generada a partir del siguiente fichero: