ApplyRuleTester (open)
Apply rule tester
Syntax
LOADLIB "mod::publisher/lib/internal/siteprofiles/reader.whlib";
OBJECTTYPE ApplyRuleTester
Properties
- PROPERTY objisfolder
Are we applied to a folder?
- PROPERTY objparent
The parent of the current object. This parent may point outside the site
- PROPERTY objsite
The site of the current object
- PROPERTY objtype
Type of the file/folder for this tester
- PROPERTY objtypens
Namespace of the type of the file/folder for this tester
- PROPERTY webdesign
Webdesign
Functions
- STRING FUNCTION DescribeTarget()
- STRING FUNCTION GetAccountingSource()
Get accounting source to which we allocate hits
- OBJECT FUNCTION GetApplyTesterForParent()
Return an apply tester for the parent object. If the parent is outside the site, this will simply return itself, not an applytester for an out-of-site object
- RECORD FUNCTION GetCachedProperty(STRING cellname, RECORD defaultvalue)
- RECORD FUNCTION GetCustomFields(OBJECT user, STRING langcode)
- RECORD ARRAY FUNCTION GetCustomSettings(STRING ns, STRING localname)
- STRING FUNCTION GetDefaultMailTemplate()
- RECORD FUNCTION GetDynExecProfileSettings(INTEGER finaltype)
Get dynamic execution settings
- RECORD FUNCTION GetFolderSettings()
- RECORD FUNCTION GetFormDefinitionFile(STRING name)
- RECORD FUNCTION GetLastValueForCell(STRING cellname)
- INTEGER ARRAY FUNCTION GetLibrary(STRING libraryname)
- RECORD ARRAY FUNCTION GetMailTemplates()
- RECORD FUNCTION GetObjRenderInfo()
- RECORD FUNCTION GetPluginConfiguration(STRING namespace, STRING localname)
- RECORD FUNCTION GetPreviewSettings()
- RECORD FUNCTION GetRTDTypeSettings()
Get our settings
- STRING FUNCTION GetSiteLanguage()
- INTEGER FUNCTION GetSitePlaceHolder()
- RECORD FUNCTION GetTagSourceForFSMember(STRING contenttype, STRING membername)
Get tag repository for a specific contenttype member
- RECORD FUNCTION GetUpdatedWidget(RECORD intypedef)
- INTEGER FUNCTION GetUploadFileTypeMapping(STRING filename, STRING mimetype)
- RECORD FUNCTION GetURLHistorySettings()
- RECORD FUNCTION GetUsePublishTemplate()
- RECORD FUNCTION GetUserData(STRING keyname)
Resolve userdata
- RECORD FUNCTION GetWebDesignObjinfo()
- RECORD ARRAY FUNCTION GetWebDesignPlugins()
- BOOLEAN FUNCTION HasRequiredRight(OBJECT user, STRING rightname)
Test whether the user has the requested right
- BOOLEAN FUNCTION IsIndexDoc()
Is this object an index document
- BOOLEAN FUNCTION IsNew()
Is this object new ?
- BOOLEAN FUNCTION IsSiteRoot()
Is this object a site root ?
- BOOLEAN FUNCTION IsTypeNeedsTemplate()
Is this a type needing a template?
- BOOLEAN FUNCTION MatchWebfeatures(STRING ARRAY masks)
Are any of these webfeatures active? (like <to webfeatures=)
- RECORD FUNCTION RunSiteprofileHookTarget(STRING targetname, RECORD data)
Invoke the intercepts for a siteprofile hook target