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

This function is used to return a paragraph based on the current Language (or a default). It uses the format:

<MvFUNCTION NAME = "OUI_LanguageMemo_Default" PARAMETERS = "group, id, default" 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 paragraph within the specified group  
·l.default   set to the default value to return if the paragraph is not found  

The return value is either the contents of l.default (if not found or an error occurred) or the actual paragraph, after processing it for OpenTokens. (To get the paragraph before processing, such as for displaying in your module's admin screens, use OUI_LanguageString_Raw()).

 


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