OpenSite (open)

Opens the site object for a site from the id of the site

Syntax

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

OBJECT FUNCTION OpenSite(INTEGER siteid)

Parameters

INTEGER siteid

WHFS id of the site

Return value

OBJECT
Possible objecttypes:

Site object, DEFAULT OBJECT if the site was not found