Home > Class Reference > ENSLIB namespace > %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.


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2 1


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


• 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";


• 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.