NewFromSession (PersistentObjectInfo function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
Line 5: Line 5:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%persObjList</th><td>A <var>PersistentObjectInfo</var> object variable.</td></tr>
<tr><th>%persObjInfo</th><td>A <var>PersistentObjectInfo</var> object variable.</td></tr>
<tr><th><var>(PersistentObjectInfo)</var></th>
<tr><th><var>(PersistentObjectInfo)</var></th>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared members|shared]] method. <var>NewFromSession</var> can also be invoked via a <var>PersistentObjectInfo</var> object variable, which may be <var>Null</var>.</td></tr>
<td>The class name in parentheses denotes a [[Notation conventions for methods#Shared members|shared]] method. <var>NewFromSession</var> can also be invoked via a <var>PersistentObjectInfo</var> object variable, which may be <var>Null</var>.</td></tr>

Revision as of 19:05, 19 August 2011

Get info about session object (PersistentObjectInfo class)

[Introduced in Sirius Mods 7.8]


Syntax

%persObjInfo = [%(PersistentObjectInfo):]NewFromSession( name)

Syntax terms

%persObjInfoA PersistentObjectInfo object variable.
(PersistentObjectInfo) The class name in parentheses denotes a shared method. NewFromSession can also be invoked via a PersistentObjectInfo object variable, which may be Null.
string A string that identifies the name of the session variable whose information is returned to %persObjList.

Usage notes

  • Invoking NewFromSession if not in a session cancels the request.

Examples

See also