Ces Interop Module

ICES interoperability services module. More...

Functions

 _ces_interop_account_retrieve ($id)
 Retrieve callback for account resource. More...
 
 _ces_interop_check_nid ($nid)
 Syntactically check validity of a cen nid. More...
 
 _ces_interop_get_query_parameters ()
 Get Opentransact parameters. More...
 
 _ces_interop_resources_access ($op, $type, $args)
 Access callback for resources service. More...
 
 _ces_interop_transaction_retrieve ($id)
 Retrieve callback for transaction resource. More...
 
 _ces_interop_user_retrieve ($id)
 Retrieve callback for user resource. More...
 
 ces_interop_admin ()
 Module settings form. More...
 
 ces_interop_apply_transaction ($access_token)
 Apply an authorized transaction from the access token. More...
 
 ces_interop_cenip ()
 Callback function for CENIP. More...
 
 ces_interop_cenip_error ($number, $txid)
 Format error message for cenip. More...
 
 ces_interop_cenip_more_callback ($form, &$form_state)
 AJAX callbac for ces_interop_form_ces_bank_exchange_form_alter(). More...
 
 ces_interop_entity_presave ($entity, $type)
 Implements hook_entity_presave(). More...
 
 ces_interop_exchange_form_submit ($form, &$form_state)
 Implements hook_form_submit(). More...
 
 ces_interop_exchange_form_validate ($form, &$form_state)
 Implements hook_form_validate(). More...
 
 ces_interop_form_ces_bank_exchange_form_alter (&$form, &$form_state)
 Implements hook_form_FORM_ID_alter(). More...
 
 ces_interop_form_ces_bank_transaction_delete_form_alter (&$form, &$form_state)
 Implements hook_form_ces_bank_transaction_delete_form_alter(). More...
 
 ces_interop_form_ces_bank_transaction_form_alter (&$form, &$form_state)
 Implements hook_form_FORMID_alter(). More...
 
 ces_interop_form_oauth2_server_authorize_form_alter (&$form, &$form_state)
 Implements hook_form_oauth2_server_authorize_alter(). More...
 
 ces_interop_fromexchange_dropdown_callback ($form, &$form_state)
 AJAX callback for fromexchange field in transaction form. More...
 
 ces_interop_get_exchange_by_nid ($nid)
 Get exchange record given its network id using drupal cache system. More...
 
 ces_interop_is_cenip_incoming_transaction ($transaction)
 Return whether the given transaction is a CENIP outgoing transaction. More...
 
 ces_interop_is_cenip_outgoing_transaction ($transaction)
 Return whether the given transaction is a CENIP outgoing transaction. More...
 
 ces_interop_is_cenip_transaction ($transaction)
 Return whether the given trasaction is a CENIP transaction. More...
 
 ces_interop_menu ()
 Implements hook_menu(). More...
 
 ces_interop_menu_alter (&$items)
 Implements hook_menu_alter(). More...
 
 ces_interop_oauth2_server_authorize_form_submit ($form, &$form_state)
 Additional submit function for oauth2_server_authorize_form. More...
 
 ces_interop_opentransact ($exchange_name)
 Opentrasact url callback. More...
 
 ces_interop_send_authorize_error ($error, $description)
 Send error and abort execution. More...
 
 ces_interop_send_httpquery ($status, $query)
 Send urlencoded query response to the user. More...
 
 ces_interop_send_json ($status, $object)
 Send JSON response to the client. More...
 
 ces_interop_services_resources ()
 Implements hook_services_resources(). More...
 
 ces_interop_services_resources_alter (&$resources, &$endpoint)
 Implments hook_services_resources_alter(). More...
 
 ces_interop_transaction_confirm_form ($form, &$form_state, $op)
 Builds the remote transaction form confirm. More...
 
 ces_interop_transaction_confirm_form_submit ($form, &$form_state)
 Submit function for remote CENIP transactions. More...
 
 ces_interop_transaction_form_submit ($form, &$form_state)
 Implements hook_form_submit(). More...
 
 ces_interop_transaction_form_validate ($form, &$form_state)
 Implements hook_validate(). More...
 
 ces_interop_transaction_view ($transaction)
 Alters view page for CENIP transactions. More...
 

Variables

const CES_INTEROP_CEN_CLEARING_CENTRAL_IP 'ces_interop_cen_clearing_central_ip'
 
const CES_INTEROP_CEN_CLEARING_CENTRAL_IP_DEFAULT '75.98.165.130'
 
const CES_INTEROP_CEN_CLEARING_CENTRAL_TXINPUT 'txinput.php'
 
const CES_INTEROP_CEN_CLEARING_CENTRAL_URL 'ces_interop_cen_clearing_central_url'
 
const CES_INTEROP_CEN_CLEARING_CENTRAL_URL_DEFAULT 'http://clearingcentral.net'
 
const CES_INTEROP_CEN_ERR_ACCESS_DENIED 11
 
const CES_INTEROP_CEN_ERR_FAULTY_DATA 5
 
const CES_INTEROP_CEN_ERR_INVALID_NID 3
 
const CES_INTEROP_CEN_ERR_INVALID_USER 2
 
const CES_INTEROP_CEN_ERR_REPEATED_TXID 6
 
const CES_INTEROP_CEN_ERR_SERVER_ERROR 9
 
const CES_INTEROP_CEN_ERR_TRANSACTION_DENIED 4
 
const CES_INTEROP_CEN_INVALID_NID -1
 
const CES_INTEROP_DEBUG 'ces_interop_debug'
 
const CES_INTEROP_OAUTH2_OPENTRANSACT_SCOPE_NAME 'opentransact'
 
const CES_INTEROP_OAUTH2_RESOURCES_SCOPE_NAME 'resources'
 
const CES_INTEROP_OAUTH2_SERVER_NAME 'interop'
 Name of the opentransact OAuth2 server. More...
 

Detailed Description

ICES interoperability services module.