JegasAPI - Jegas, LLC - Copyright(c)2016

Unit uj_captions

DescriptionUsesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

JAS Specific Functions

Overview

Functions and Procedures

Function bJASLoadCaptionXXDL( p_Context: TCONTEXT; p_saCaptionUID: AnsiString; p_saCaptGrp: AnsiString; Var p_XXDL: JFC_XXDL ): Boolean;
Function bJASCaption( p_Context: TCONTEXT; p_saCaptionUID: AnsiString; Var p_saResult: AnsiString; p_saDefault: AnsiString ): Boolean;

Description

Functions and Procedures

Function bJASLoadCaptionXXDL( p_Context: TCONTEXT; p_saCaptionUID: AnsiString; p_saCaptGrp: AnsiString; Var p_XXDL: JFC_XXDL ): Boolean;

This function loads the (You must Instantiate) passed JFC_XXDL class with caption information for each record found to match the criteria:

XXDL.ID1=JCapt_JCaption_UID (Note: If you change this change the XXDL.ID2= comments below and over the function XXDL.ID3=JCapt_JCaptGrp_ID itself ) XXDL.saValue= JCapt_Value XXDL.saDesc= any logical returned data based on "Desired Language" if Not Empty or not found when searching by UID "Default Language (usually "en")" if not empty

Function bJASCaption( p_Context: TCONTEXT; p_saCaptionUID: AnsiString; Var p_saResult: AnsiString; p_saDefault: AnsiString ): Boolean;

This is a shorthand way to get a SPECIFIC Caption. This is not recommended when its conceivable that you can load a group of captions versus hitting this to many times in a row. HOWEVER when you Need a SPECIFIC caption based on language - THEN,NOW, is it there or not? This should work fine. It basically is a wrapper for the bJASLoadCaptionXXDL function with a focus on grabbing only ONE record and using this short hand version saves you the symantics of instantiating the XXDL class to load with a series of records

http://www.jegas.com
Generated by PasDoc 0.14.0.