Ces Import

Implements the drupal hooks for this module. More...

Modules

 Ces Import from CES documentation
 

Ces Import from CES


 
 Install ces_import4ces
 Create a tables from imports.
 
 Parse announces from CES
 Functions from parse announces.
 
 Parse balances from CES
 Functions from parse balances.
 
 Parse offers and wants from CES
 Functions from parse offers and wants.
 
 Parse setting from CES
 Functions from parse setting.
 
 Parse trades from CES
 Functions from parse trades.
 
 Parse users from CES
 Functions from parse users.
 

Functions

 _ces_import4ces_batch_import_csv_finished ($success, $results, $operations)
 Finish callback function for batch process. More...
 
 _ces_import4ces_get_language ($ceslang)
 Get language code translation CES => ISO. More...
 
 _ces_import4ces_import_csv ($file_csv, $file, $parse_function, $record)
 Imports a CSV file to the database. More...
 
 _ces_import4ces_steps ()
 Returns an array with the import steps. More...
 
 _ces_import4ces_steps_data ($step)
 Return array with steps data. More...
 
 ces_import4ces_admin_page ()
 Main page for this module where to administer the imports. More...
 
 ces_import4ces_batch_fail_row ($import_id, $heads, $cols, $row, &$context)
 Row fail batch operation. More...
 
 ces_import4ces_download_image ($url_origen, $archivo_destino)
 Get image from CES. More...
 
 ces_import4ces_get_category ($title, $import, $context=1)
 Create o return category. More...
 
 ces_import4ces_get_object_ids ($import_id, $type)
 Get all the id's for a given import and a given object type. More...
 
 ces_import4ces_import_delete_form ($form, &$form_state, $import_id)
 Confirm form for delete import. More...
 
 ces_import4ces_import_delete_form_submit ($form, &$form_state)
 Delete all import data. More...
 
 ces_import4ces_import_form ($form, &$form_state, $import_id=FALSE)
 Main form for new import, contiue import and single import form. More...
 
 ces_import4ces_import_form_submit ($form, &$form_state)
 Submit to confirm form to continue an import. More...
 
 ces_import4ces_import_form_validate ($form, &$form_state)
 Validates import form and saves upload csv files. More...
 
 ces_import4ces_import_load ($import_id)
 Load an import object with static cache. More...
 
 ces_import4ces_mail_alter (&$message)
 Implements hook_mail_alter(). More...
 
 ces_import4ces_menu ()
 Implements hook_menu(). More...
 
 ces_import4ces_row_form ($form, &$form_state)
 Import single row form. More...
 
 ces_import4ces_update_row ($import_id, $row)
 Count row. More...
 
 ces_import4ces_update_step ($import_id, $step)
 Count step. More...
 
 ces_save_discarded_record ($import_id, $row, $reason= 'Manual')
 Save discarded record. More...
 

Variables

const CES_IMPORT4CES_ANONYMOUS 0
 Set to 0 in production. More...
 
const CES_IMPORT4CES_FILES_URI 'public://ces_import'
 Where to save import CSV files. More...
 
const CES_IMPORT4CES_RESET_PASSWORD 0
 Reset passwords or keep old CES passwords. More...
 
const CES_IMPORT4CES_SEND_MAILS 1
 Send welcome mails to all users. More...
 

Detailed Description

Implements the drupal hooks for this module.