IRISLIB database
General Class Reference

Collection of ClassMethods used by Studio. More...

Static Public Member Functions

_.Library.String ConstructCSPSession (_.Library.String page)
 Internal method to construct a CSP session with current security permissions and return the session id.
 
_.Library.String GetFileDateModified (_.Library.String filename, _.Library.Boolean utc)
 Return the date last modified of file filename in Timestamp format. More...
 
_.Library.String GetStudioInfo ()
 return $c(1) delimetered string More...
 
_.Library.Status GetWebServerPort (_.Library.Integer port, _.Library.String server, _.Library.String urlprefix, _.Library.String url)
 Return the port the InterSystems IRIS web server is running on or 0 if the. More...
 
_.Library.String ReturnCSPSessionId (_.Library.String id)
 Deprecated internal method to return the CSP session id of the session constructed with <method>ConstructCSPSession</method>. More...
 

Static Private Member Functions

_.Library.String __ServerIP ()
 Try to return the current servers IP address/name.
 

Detailed Description

Collection of ClassMethods used by Studio.

Member Function Documentation

◆ GetFileDateModified()

_.Library.String GetFileDateModified ( _.Library.String  filename,
_.Library.Boolean  utc 
)
static

Return the date last modified of file filename in Timestamp format.

By default this is local time, if you pass utc as true it returns it in UTC time

◆ GetStudioInfo()

_.Library.String GetStudioInfo ( )
static

return $c(1) delimetered string

p1 - SYSTEM.Version.GetNumber() p2 - Is MVB installed p3 - Is Ensamble installed p4 - Is Activate available p5 - Is Other Enabled p6 - Feetback URL p7 - _$SYSTEM.Version.Format(4) p8 - ^SYS("Studio","NoXecute") p9 - U2 Enabled. Bit 30

◆ GetWebServerPort()

_.Library.Status GetWebServerPort ( _.Library.Integer  port,
_.Library.String  server,
_.Library.String  urlprefix,
_.Library.String  url 
)
static

Return the port the InterSystems IRIS web server is running on or 0 if the.

web server is not active. Also returns the server name which is useful if the web server is running on a different machine. It can also return a urlprefix which is added to the url to goto at the start and is required if one web server is serving multiple InterSystems IRIS instances to differential between these versions. It also returns url which is the constructed url as a string, you just need to append the page you are going to request to this.

◆ ReturnCSPSessionId()

_.Library.String ReturnCSPSessionId ( _.Library.String  id)
static

Deprecated internal method to return the CSP session id of the session constructed with <method>ConstructCSPSession</method>.

This is no longer needed as <method>ConstructCSPSession</method> returns the CSP sessionId directly now.