ApplyRuleTester::RunSiteprofileHookTarget (open)
Invoke the intercepts for a siteprofile hook target
Syntax
LOADLIB "mod::publisher/lib/internal/siteprofiles/reader.whlib";
RECORD FUNCTION RunSiteprofileHookTarget(STRING targetname, RECORD data)
Parameters
STRING targetname
Hook target to invoke (module:targetname)
RECORD data
Data to pass to the intercept functions. Each intercept can update the data
Return value
RECORD
The data as returned by the last intercept. If the target was not intercepted it will simply return the original data
Description
Module hooks are a low-level mechanism to allow external code to hook into your code.