Home > Class Reference > %SYS namespace > %CSP.Document

%CSP.Document

class %CSP.Document extends %CSP.Rule

The %CSP.Document class is the server-side representation of a CSP page.

Property Inventory

Method Inventory

Properties

property NeedBroker as %Boolean [ InitialExpression = 0 ];
Deprecated property for #server that is kept for compatibility. Now has the same effect as NeedJS property. If true, JavaScript for #server applet HyperEvent should included in the CSP page.
Property methods: NeedBrokerDisplayToLogical(), NeedBrokerGet(), NeedBrokerIsValid(), NeedBrokerLogicalToDisplay(), NeedBrokerNormalize(), NeedBrokerSet()
property NeedJS as %Boolean [ InitialExpression = 0 ];
If true, JavaScript for HyperEvent should included in the CSP page.
Property methods: NeedJSBrokerDisplayToLogical(), NeedJSBrokerGet(), NeedJSBrokerIsValid(), NeedJSBrokerLogicalToDisplay(), NeedJSBrokerNormalize(), NeedJSBrokerSet(), NeedJSDisplayToLogical(), NeedJSGet(), NeedJSIsValid(), NeedJSLogicalToDisplay(), NeedJSNormalize(), NeedJSSet()
property NeedJSBroker as %Boolean [ InitialExpression = 0 ];
Deprecated property for #call that is kept for compatibility. Now has the same effect as NeedJS property. If true, JavaScript for #call iframe HyperEventshould included in the CSP page.
Property methods: NeedJSBrokerDisplayToLogical(), NeedJSBrokerGet(), NeedJSBrokerIsValid(), NeedJSBrokerLogicalToDisplay(), NeedJSBrokerNormalize(), NeedJSBrokerSet()

Methods

method %OnClose() as %Status [ Language = objectscript ]
Make sure that we are cleaned up.
method AddEventBroker() as %Status [ Language = objectscript ]
Insert event broker code into the head section to load hyperevent .js files.
method RenderEndTag() as %Status [ Language = objectscript ]
The document tag for CSP acts to compile this document. Finish building the class and cleanup.
method RenderStartTag() as %Status [ Language = objectscript ]
The document tag for CSP acts to compile this document to a class that will render it on demand.

Inherited Members

Inherited Properties

Inherited Methods

Subclasses