Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / %CSP.RuleRule
Private  Storage   

%CSP.RuleRule


class %CSP.RuleRule extends
%CSP.Document

The %CSP.RuleRule class represents the csr:rule tag within the DOM model for a CSR page.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 4


Summary


Properties
Children Closed CreateClass Family HasEndTag
LineNumber NeedBroker NeedJS NeedJSBroker NewSection
Parent Rule TagAttributes TagName Text
TextOnly

Methods
%%OIDGet %AddToSaveSet %BindExport %BuildObjectGraph
%ClassIsLatestVersion %ClassName %Close %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IncrementCount %IsA %IsModified
%New %NormalizeObject %ObjectModified %OnClose
%OnNew %OriginalNamespace %PackageName %RemoveFromSaveSet
%SerializeObject %SetModified %ValidateObject AddChildElement
AddEventBroker AddSectionMethod GetAttribute GetAttributesOrdered
HasValue InitAttribute InnerText IsDefined
OnMatch PopDefaultSection ProcessSection PushDefaultSection
QuoteAttribute RenderDefaultEndTag RenderDefaultStartTag RenderEndTag
RenderStartTag SetAttribute ValidateTag WriteCSPServer
WriteCSPText WriteExpressionText WriteServer WriteText


Properties


• property CreateClass as %Boolean;
True indicates that a class must be created for this rule.

Methods


• classmethod AddSectionMethod(handle As %String, name As %String, return As %String = "%Status", args As %String = "", language As %String = "") as %Status
Add method for section or part of a section
• classmethod OnMatch(rule As %CSP.Rule) as %Status
Implement DeleteRule for a rule file.
• method RenderEndTag() as %Status
Finish compiling a class for this rule.
• method RenderStartTag() as %Status
Start compiling a class for this rule.