SN_PAGES

NAME

sn_pages - Manage pages url and directory

SYNOPSIS

res=sn_pages(code,lg,table:string);

res=sn_pages_dir(code,lg,table:string);

DESCRIPTION

sn_pages read informations from table sn_pages (or the one specify by parameter table), and return the url for the entry with code and lg.

sn_pages_dir read informations from table sn_pages (or the one specify by parameter table), and return the directory for the entry with code and lg.

PARAMETERS

table
Table name.
code
Code of page.
lg
Language.

EXAMPLES

%include "/extenso/functions/sn_pages.snc";

pages = sn_pages("sn_login","fr");

SEE ALSO

AUTHOR

Written by Pierre Laplante

MODIFICATIONS

1.0 2014-09-09 21:24:14 laplante@sednove.com