OUI_LanguageImage()
See also: OpenLanguages API
Return to Introduction  Previous page  Next page

This function is used to return an image (HTML <img> tag) based on the current Language. It uses the format:

<MvFUNCTION NAME = "OUI_LanguageImage" PARAMETERS = "group, id"  STANDARDOUTPUTLEVEL = "">  

This function is called with the parameters:

·l.group      set to the group "code" (see OUI_LangGroup_Create())  
·l.id      set to a ID number unique for each image within the specified group  

The return value is either a "blank" (error occurred) or the actual HTML <img> tag for the image, after processing it for OpenTokens. (To get the image fields before processing, such as for displaying in your module's admin screens, use OUI_LanguageImage_Raw()).

 


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