You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This class provides a method that allows working with the localization data.

getMessage

This method gets a translation of the message specified and returns it in the user's language.


Parameter(s):

NameTypeMandatoryDefault Value
messageStringYN
categoryStringN'app'


Return:

TypeDescription
StringReturns a message in the user's language.


Example:

getMessage
sm = new SimpleMessage();
ss.info(sm.getMessage('Information'));
  • No labels