What MIVA Says
The vis_wizard functions relate to the wizard and store wizard interfaces in the same way that the standard vis functions relate to the administration interface. They provide Admin with configuration instructions specific to the module to which they belong.
Parameters:
Return Type:bool
<MvFUNCTION NAME="Module_Is_Wizardable" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
The module should return 1 to indicate that the wizard ought to take notice of this module and ask it for further instructions about configuration.
The module should return 0 to indicate that the wizard ought to ignore it.
Default Return: NULL
Parameters:
Return Type:bool
<MvFUNCTION NAME="Module_Wizard_Validate_Step" PARAMETERS="module var,step" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="Module_Wizard_Validate" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="Module_Wizard_Action" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="Module_Wizard_Content" PARAMETERS="module var,step,load_fields" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Default Return: 1
Parameters:
<MvFUNCTION NAME="Module_Wizard_Summary_Fields" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
Wizard modules call this function.
This function should return a comma-separated list of field identifiers of the form id[,id,id,id-]. Wizard modules make use of this function along with Module_Wizard_Summary_Prompt and Module_Wizard_Summary_Field to create a table displaying the inputs provided by the administrator over the course of using the wizard.
Default Return: NULL
Parameters:
<MvFUNCTION NAME="Module_Wizard_Summary_Prompt" PARAMETERS="module var,field_id" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
Wizard modules call this function.
This function should return a text string for use as a field label or table heading. The value of the prompt is dependent upon the field_id parameter, received from the list set in Module_Wizard_Summary_Fields.
Default Return: NULL
Parameters:
<MvFUNCTION NAME="Module_Wizard_Summary_Field" PARAMETERS="module var,field_id" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
Wizard modules call this function.
This function should render the value of the field identified by the field_id parameter received from the list set in Module_Wizard_Summary_Fields. One would use it, for example, to fill in a table listing each of tax rates entered by the administrator during use of the wizard.
Default Return: NULL
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.