CT
NAME
ct - Get the value for a code.
SYNOPSIS
ct(code:string,lg:string[,ct:string]);
DESCRIPTION
This function is used to return the value of a code in all languages.
PARAMETERS
- ct
- Specify the name of the table. Default is ct.
- code
- Specify the code to read from the ct. If this code is not available, a new one is created.
- lang
- Specify language. Default is "fr". The system will also try to use lg.
RETURN
- A string with the value of code in the language.
EXAMPLES
a = ct(code:"test",ct:"sn_ct",lang:"fr");
SEE ALSO
AUTHOR
Written by Pierre Laplante, <laplante@sednove.com>
MODIFICATIONS
1.0 2014-09-09 21:24:14 laplante@sednove.com
Edit