%Studio.Global
class %Studio.Global extends %Library.RegisteredObject
Provide interface to globalsMethod Inventory (Including Private)
- GlobalListClose()
- GlobalListExecute()
- GlobalListFetch()
- GlobalListFetchRows()
- Kill()
- LocalListClose()
- LocalListExecute()
- LocalListFetch()
- LocalListFetchRows()
- Set()
- decode()
- format()
- genPattern()
Methods (Including Private)
classmethod GlobalListExecute(ByRef qHandle As %Binary, Node As %String, Pattern As %String = "", Format As %Boolean = 1) as %Status [ Language = objectscript ]
classmethod GlobalListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
classmethod GlobalListFetchRows(ByRef qHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
Kill a global node.
You pass it the name of the node and a flag to say if you want to kill subscripts
or just this node and leave any subscripts.
classmethod LocalListExecute(ByRef qHandle As %Binary, Pid As %String, Node As %String, Pattern As %String = "", Format As %Boolean = 1) as %Status [ Language = objectscript ]
classmethod LocalListFetch(ByRef qHandle As %Binary, ByRef Row As %List, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
classmethod LocalListFetchRows(ByRef qHandle As %Binary, FetchCount As %Integer = 0, ByRef RowSet As %List, ByRef ReturnCount As %Integer, ByRef AtEnd As %Integer = 0) as %Status [ Language = objectscript ]
classmethod Set(Node As %String, %Value As %String, ValFormat As %Integer) as %Status [ Language = objectscript ]
Set a global node.
You pass it the name of the node to set, along with the value to set and
the values format and it sets this node.
classmethod decode(node As %String, ByRef output As %String) as %Integer [ Language = objectscript ]
classmethod format(value As %String, ByRef output As %String, format As %Boolean = 1) as %Integer [ Language = objectscript ]
Format the 'value' so it is readable and return the type of format we have used.
private classmethod genPattern(Spec As %String, ByRef AS As %String, ByRef AE As %String, ByRef Pattern As %String) [ Language = objectscript ]
Passed a pattern match this returns an COS style pattern and a start and stop point.
Queries
Selects Subscript As %String, Value As %String, Data As %Integer, ValueFormat As %Integer, SubscriptFormat As %Integer
Enumarate this global node and returning the $order items below this
It takes the name of a global or local array to inspect including and initial subscripts.
It returns the subscript name, the value and the $data of this node. Then it also returns
the format of both the subscript and the data:
- 1 - String format, this is the value of the value/subscript unaltered
- 2 - ObjectScript format, the value has been converted into the ObjectScript representation for easy viewing, for example instead of showing the binary value a list is displayed as '$LB(1,"test")'
- 3 - Not editable. Due to issues with the length of this data not all of it can be displayed so a portion is displayed
Inherited Members
Inherited Methods (Including Private)
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %ConstructCloneInit()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OnAddToSaveSet()
- %OnClose()
- %OnConstructClone()
- %OnNew()
- %OnValidateObject()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()