Skip to main content

%CSP.RuleRule

Class %CSP.RuleRule Extends %CSP.Document [ System = 3 ]

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

Properties

CreateClass

Property CreateClass As %Boolean [ Internal ];

True indicates that a class must be created for this rule.

Methods

OnMatch

ClassMethod OnMatch(rule As %CSP.Rule) As %Status

Implement DeleteRule for a rule file.

RenderStartTag

Method RenderStartTag() As %Status

Start compiling a class for this rule.

RenderEndTag

Method RenderEndTag() As %Status

Finish compiling a class for this rule.

AddSectionMethod

ClassMethod AddSectionMethod(handle As %String, name As %String, return As %String = "%Status", args As %String = "", language As %String = "") As %Status [ Internal ]

Add method for section or part of a section