What MIVA Says
A module author employs this feature to enhance the functionality of MIVA Merchant. It provides a means of defining a custom configuration screen, Screen=SUTL and a means of placing a link to the screen in Admin’s left navigation menu. Operations that do not fit into other feature types can be included here.
Parameters:
Return Type:bool
<MvFUNCTION NAME="StoreUtilityModule_Action" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this fuction if StoreUtilityModule_Validate returns a success.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="StoreUtilityModule_LeftNavigation" PARAMETERS="module var,indent" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function to determine what to place in its left menu. The indent parameter tells
Admin at what depth of indentation to display the link. For example an indent value of "2" would represent the second indent level.
One can place the variable Screen=SUTL in the link, which will cause Admin to call StoreUtilityModule_Screen.
Default Return: NULL
Example 1:
<MvFUNCTION NAME="StoreUtilityModule_LeftNavigation" PARAMETERS="module var,indent" STANDARDOUTPUTLEVEL="">
<MvDO FILE = "{ g.Module_Admin }" NAME = "l.null" VALUE = "{ LeftNavigation_Dot( l.indent, 'Store_Code=' $ Stores.d.code $'&Screen=SUTL&Module_Code=' $ l.module:code, 'Main', 'API TEST' ) }">
</MvFUNCTION>
Parameters:
Return Type:bool
<MvFUNCTION NAME="StoreUtilityModule_Screen" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
This function instructs Admin what to display as main content when rendering the SUTL screen.
Default Return: 1
Parameters:
Return Type:bool
<MvFUNCTION NAME="StoreUtilityModule_Validate" PARAMETERS="module var" STANDARDOUTPUTLEVEL="">
<MvFUNCTIONRETURN VALUE="1">
</MvFUNCTION>
What MIVA Says
Admin calls this function when processing a form submission that includes Action=SUTL
It should return a 1 to indicate the success, a 0 on failure.
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.