WebDesignBase::CallWithScope (open)

Run the callback inside our context

Syntax

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

VARIANT FUNCTION CallWithScope(MACRO PTR callback)

Parameters

MACRO PTR callback

Return value

VARIANT

Returns whatever CallWithScope returned

Description

Invokes the callback, as if it were invoked from the pagewitty, without actually rendering the pagewitty. EmbedWittyLibrary and GetWittyVariable will be available as if this function were invoked from the witty, and witty variables like [siteroot] are accesisble