OUI_LeftNavigation()
See also: OpenUI Left-Navigation API
Return to Introduction  Previous page  Next page

This function (in your module) is called by the OpenUI when you have registered a module "hook" into the OpenUI Left-Navigation menu. It uses the format:

<MvFUNCTION NAME = "OUI_LeftNavigation" PARAMETERS = "indent, typestr" STANDARDOUTPUTLEVEL = "">  

This function is called with the parameters:

·l.indent      the left-menu indent level (used by the Admin Left-Navigation API)  
·l.typestr   set to a string describing where to hook (see below for list of valid values)  

Valid TypeStr Hook Values  
·CURRENTADMIN      (for future use)  
·CURRENTSHOPPERS   calls the OUI_LeftNavigation() function in the registered module, directly under the "Current Shoppers" menu item  
·PRODUCTS         calls the OUI_LeftNavigation() function in the registered module, directly under the "Products" menu item  
·CATEGORIES      calls the OUI_LeftNavigation() function in the registered module, directly under the "Categories" menu item  

The return value should be either a "0" (error occurred) or a "1" (hook successful).

 


Send feedback on this documentation.
© 2004 - 2000 Darren Ehlers & OpenUI Developer Consortium