Class Reference
IRIS for UNIX 2019.4
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%CSP] >  [Utils]
Private  Storage   

class %CSP.Utils extends %CSP.Page

The %CSP.Utils provides utilities for CSP. %CSP.Utils is also a CSP page that displays the values of all the objects associated with this page.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 10


Summary

Methods
%ClassIsLatestVersion %ClassName %Close %DispatchClassMethod
%DispatchGetModified %DispatchGetProperty %DispatchMethod %DispatchSetModified
%DispatchSetMultidimProperty %DispatchSetProperty %Extends %GetParameter
%IncrementCount %IsA %New %OriginalNamespace
%PackageName %SetModified ConvertParameter DecodeData
Decrypt DisplayAllObjects Encrypt EncryptBroker
EscapeHTML EscapeURL HyperEventBody HyperEventCall
HyperEventFrame HyperEventHead Include InsertHiddenField
InsertHiddenFields IsPrivate Link OnHTTPHeader
OnPage OnPageError OnPostHTTP OnPostHyperEvent
OnPreHTTP OnPreHyperEvent Page QuoteJS
RewriteURL ShowError StartTimer StopTimer
ThrowError UnescapeHTML UnescapeURL dumpMultidimentional
dumpObject dumpQueries dumpSet dumpStreams


Parameters

• parameter ENCODED = 0;
Override ENCODED from %CSP.Page
• parameter PRIVATE = 1;
Override PRIVATE from %CSP.Page

Methods

• classmethod DecodeData(data As %String) as %String
Display data in human printable form.
• classmethod DisplayAllObjects() as %Boolean
Call this method to output as HTML the values of all the objects associated with this page. This can be called from anywhere in your page as a debugging aid.
• classmethod OnPage() as %Status
OnPage method for CSP page to display the values of all the objects associated with this page.
• private classmethod OnPageCSPROOT() as %Boolean
OnPageCSPRoot method for CSP page to display the values of all the objects associated with this page.
• private classmethod OnPageHTML() as %Boolean
OnPageHTML method for CSP page to display the values of all the objects associated with this page.
• classmethod dumpMultidimentional(Key As %String, Name As %String)
Display the content of a multidimensional array.
• classmethod dumpObject(oref As %String, title As %String)
Display an object as HTML
• classmethod dumpQueries(oref As %String, Name As %String, help As %String = "")
Display query parameters from %request object
• classmethod dumpSet(oref As %String, Name As %String, Suffix As %String)
Display a set of name/value pairs such as CGI variables or cookies.
• classmethod dumpStreams(oref As %String, title As %String)
Display streams from request object.


Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.