NewFromSession (PersistentObjectInfo function): Difference between revisions

From m204wiki
Jump to navigation Jump to search
Line 13: Line 13:


==Usage notes==
==Usage notes==
<ul>
<li>Invoking <var>NewFromSession</var> if not in a session cancels the request.
</ul>
==Examples==
==Examples==
==See also==
==See also==
{{Template:PersistentObjectInfo:NewFromSession footer}}
{{Template:PersistentObjectInfo:NewFromSession footer}}

Revision as of 23:49, 18 August 2011

Get info about session object (PersistentObjectInfo class)

[Introduced in Sirius Mods 7.8]


Syntax

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

Syntax terms

%persObjListA 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