CreateSiteFromFolder (open)

Converts a WHFS folder into a site

Syntax

LOADLIB "mod::publisher/lib/siteapi.whlib";

OBJECT FUNCTION CreateSiteFromFolder(INTEGER rootfolderid)

Parameters

INTEGER rootfolderid

WHFS id of the folder to convert

Return value

OBJECT
Possible objecttypes:

Site object