OpenSiteByName (open)

Opens the site object for a site given its name

Syntax

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

OBJECT FUNCTION OpenSiteByName(STRING sitename)

Parameters

STRING sitename

Name of the site

Return value

OBJECT
Possible objecttypes:

Site object, DEFAULT OBJECT if the site was not found