get_structure

Return informations from structure.

GET_STRUCTURE

NAME

get_structure - Return informations from structure.

SYNOPSIS

get_structure ([structure:string,lg:string,code:string]);

DESCRIPTION

This function is used to.

PARAMETERS

structure
Specify the name of the table. Default is structure.
lg
Specify the language.
code
Specify the code to read from the structure.

RETURN

If lg and code is specify, the function return the path url/file. If code is not specify the function return If only structure is specify, the function return

EXAMPLES

a = get_structure();
a = get_structure(structure:"sn_structure");
lg="fr"; a{"js"}{"url_".+lg};

get_fullurl(a, code:"js",lg:"fr");  return /extenso/js/fr/extenso.js.
get_fulldir(a, code:"js",lg:"fr");  return /extenso/html/js/fr/extenso.js.

SEE ALSO

AUTHOR

Written by Pierre Laplante, <laplante@sednove.com>

MODIFICATIONS

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

Edit

© 2024 extenso Inc. All rights reserved.