SN_PUBLISH

NAME

sn_publish - Publish a page

SYNOPSYS

sn_publish(table_name, uids, site [, output:"html"|"json"|""]

DESCRIPTION

This function is use to publish a page in the site

This function return an array of pages publish for output json. Each item of the array is page name, language, url and directory

If the template is negative, sn_publish will read the template grid and read the grid according to the template

EXAMPLES

	use cgidata;
	use table;
	use config;
	use user;

	%include "/extenso/functions/sn_publish.snc";
	sn_publish(table,cgidata.uids,config.site); 

SEE ALSO

extenso_functions()

AUTHOR

Written by Pierre Laplante

MODIFICATIONS

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