PersistentObjectInfo methods syntax: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 2: | Line 2: | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
{{Template:Syntax list header|class=PersistentObjectInfo}} | {{Template:Syntax list header|class=PersistentObjectInfo}} | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%description</span><span class="literal"> =</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top:1px solid;"><span class="term">%description</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[ClassDescription (PersistentObjectInfo function)|ClassDescription]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">% | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[Copy (PersistentObjectInfo function)|Copy]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">% | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%outPersObjInfo</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[DeepCopy (PersistentObjectInfo function)|DeepCopy]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> = | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[GlobalList (PersistentObjectInfo function)|GlobalList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%name</span><span class="literal"> =</span> <span class="term"> | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%name</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[Name (PersistentObjectInfo function)|Name]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">% | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjInfo</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[NewFromGlobal (PersistentObjectInfo function)|NewFromGlobal]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjInfo</span><span class="literal"> =</span> <span class="squareb">[</span><span class="literal">%(PersistentObjectInfo)</span><span class="squareb">]</span><span class="literal">:[[NewFromSession (PersistentObjectInfo function)|NewFromSession]]</span><span class="literal">(</span> <span class="term" title="String">string</span><span class="literal">)</span></p> | |||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">% | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> =</span> <span class="literal">%(PersistentObjectInfo):[[SessionList (PersistentObjectInfo function)|SessionList]]</span><span class="squareb">[</span><span class="literal">(</span> <span class="squareb">[</span><span class="term" title="String">matchString</span><span class="squareb">]</span><span class="literal">)</span><span class="squareb">]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%persObjList</span><span class="literal"> = | <p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term">persObjInfo</span><span class="literal">:[[SetTime (PersistentObjectInfo function)|SetTime]]</span></p> | ||
<p class="syntax" style="margin-bottom:0px; border-bottom:1px solid; border-left:1px solid; border-right:1px solid; border-top: none; margin-top:0px;"><span class="term">%string</span><span class="literal"> =</span> <span class="term"> |
Revision as of 19:36, 23 August 2011
The syntax for each of the PersistentObjectInfo class methods is shown below.
Square brackets indicate optional elements of the method invocation. See also the notation conventions for methods and the List of PersistentObjectInfo methods.
%description = persObjInfo:ClassDescription
%outPersObjInfo = persObjInfo:Copy
%outPersObjInfo = persObjInfo:DeepCopy
%persObjList = %(PersistentObjectInfo):GlobalList[( [matchString])]
%name = persObjInfo:Name
%persObjInfo = [%(PersistentObjectInfo)]:NewFromGlobal( string)
%persObjInfo = [%(PersistentObjectInfo)]:NewFromSession( string)
%persObjList = %(PersistentObjectInfo):SessionList[( [matchString])]
%string = persObjInfo:SetTime