What MIVA Says
Functions within this feature type obtain data from outside the MIVA Merchant environment and write it to files within the environment.
Parameters:
Return Type:bool
<MvFUNCTION NAME="ImportModule_Validate" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function when one submits information from the Import UI screen in the administration tool.
This function provides a place for code to validate any input data that is required to run the module. For example, if the module requires a database name and the fields to be exported, this function must validate that the names of the database and fields exist and can be written to.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="ImportModule_Screen" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function when one selects the Export UI screen (by clicking the module’s link under Utilities>Import Data in Admin’s left menu).
It’s purpose is to provide Admin with instruction on how to build a UI screen for the module.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="ImportModule_Import" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function when one submits information from the Importing UI screen in the administration tool.
It provides Admin with instructions about importing the data to a MIVA Merchant database from a database or file outside of the MIVA Merchant environment. For example, this type of module could read a product database outside of MIVA Merchant and write it to the MIVA Merchant products database. Any data in the MIVA Merchant database can be imported.
Default Return: 1
Return Types are expressed in the document by the following codes:
For information and function requirements for the various MIVA Merchant 5 Module API Feature Codes see the following:
batchreport,
component,
component_prov,
currency,
custrt,
data_domain,
data_store,
export,
externalreq,
fields_cust,
fields_prod,
fulfill,
import,
log,
not_fields,
payment,
provision_store,
shipping,
storeselui,
storewizard,
system,
tax,
upload,
util,
wizard,
vis_affil,
vis_affilbe,
vis_category,
vis_categorybe,
vis_cust,
vis_custbe,
vis_domain,
vis_fulfill,
vis_log,
vis_order,
vis_payment,
vis_product,
vis_productbe,
vis_shipping,
vis_store,
vis_system,
vis_util,
vis_wizard
This document is copyright 2005-2006 4TheBest eCommerce Solutions and was last generated using Serade on 01/13/2006 23:04:54. It is permissible to place a copy of this document in it's current or altered form on your website as long as you leave the copyright notice along with the links to the websites referenced intact.