What MIVA Says
Modules using the wizard feature provide the user with a simple step-by-step method to accomplish a common task in the administrative interface at the domain level.
Parameters:
Return Type:bool
<MvFUNCTION NAME="WizardModule_Action" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function after the user completes all steps and after a successful return from WizardModule_Privileges and WizardModule_Validate.
Here one can place instructions about what to do with or in reaction to the input submitted by the user.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="WizardModule_Content" PARAMETERS="module var,step,load_fields" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function each time it displays a new screen.
It provides the instructions for the main portion of the wizard screen.
Default Return: 1
Parameters:
<MvFUNCTION NAME="WizardModule_Icon" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
One uses this function to defines the path and name of the icon graphic that is displayed on the admin.mv front page, under the domain section.
Default Return: NULL
Parameters:
<MvFUNCTION NAME="WizardModule_Logo" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
Admin calls this function each time it displays a new screen.
One uses this function to define the path and name of the icon graphic that is displayed in the upper left corner of the wizard.
Default Return: NULL
Parameters:
Return Type:bool
<MvFUNCTION NAME="WizardModule_Privileges" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function when it builds its left menu.
The module should return 1 if current user has privileges to run wizard. The module should return 0 if current user does not.
Default Return: 1
Parameters:
<MvFUNCTION NAME="WizardModule_Title" PARAMETERS="module var,step" STANDARDOUTPUTLEVEL="">
</MvFUNCTION>
What MIVA Says
Admin calls this function each time it displays a new screen.
Default Return: NULL
Parameters:
Return Type:bool
<MvFUNCTION NAME="WizardModule_Validate" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function after the user completes all steps
One should include instructions in the function to determine that any information the administrator submits is acceptable in format.
The function should return a 1 on success, 0 on failure.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="WizardModule_Validate_Step" PARAMETERS="module var,step" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function each time it receives input from the submission of a wizard screen (one screen per step).
One should include instructions in the function to determine that any information the administrator submits is acceptable in format.
The function should return a 1 on success, 0 on failure. In the case of failure, Admin will not allow the wizard to move onto the next screen.
One can also set invalidity flags for use by the UI in a fashion similar to that of PaymentModule_Payment_Invalid.
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.