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

class %CSP.Documatic.PrintClass extends %CSP.Documatic

This class displays a printer friendly version of the class definition.
User may click the "print" link to choose printer, etc.
Other links are disabled except the section labels, such as "Summary", where user may click to collapse the label if they do not wish to print that section.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 5


Summary

Methods
%ClassIsLatestVersion %ClassName %DispatchClassMethod %DispatchGetModified
%DispatchGetProperty %DispatchMethod %DispatchSetModified %DispatchSetMultidimProperty
%DispatchSetProperty %Extends %GetParameter %IsA
%New %OriginalNamespace %PackageName %SetModified
ConvertParameter Decrypt DefaultNS DefinedByClose
DefinedByExecute DefinedByFetch DrawUsername Encrypt
EscapeHTML EscapeURL HyperEventCall HyperEventHead
ImplementedByClose ImplementedByExecute ImplementedByFetch Include
InsertHiddenField InsertHiddenFields IsPrivate Link
OnHTTPHeader OnPage OnPageError OnPostHTTP
OnPostHyperEvent OnPreHTTP OnPreHyperEvent Page
QuoteJS ReferencedByClose ReferencedByExecute ReferencedByFetch
RenderClassPage RenderCode RenderDefaultStorageDef RenderDescription
RenderIndexPage RenderNameSpaceList RenderNameSpacePage RenderPackageInfo
RenderPackagePage RenderSQLStorageDef RenderStorageDef RenderStoragePage
RewriteURL ShowError StartTimer StopTimer
SwapNS ThrowError UnescapeHTML UnescapeURL


Parameters

• parameter CSPURL = "/csp/documatic/%CSP.Documatic.PrintClass.cls";
This parameter is used to make sure that if multiple CSP applications are mapped to the same namespace that the CSP engine can correctly identify which class corresponds with which URL. If 'LockCSPName' is true (the default, defined in the CSP application) then you can only access this page if the url exactly matches this 'CSPURL'. You can set this parameter to "" if you wish to disable this check for this class. This check is applied for all CSP urls (cls/csp/zen).
If this page was compiled from a .csp file, then this parameter is automatically set to contain the url of this file used for compilation.
• parameter URL = "%25CSP.Documatic.PrintClass.cls";

Methods

• classmethod DrawUsername()
Draw username or server name depend on setup.
• classmethod OnPage() as %Status
Event handler for PAGE event: this is invoked in order to display a csp page. This method is called to render a class document to a browser.


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