PersistentObjectInfo methods syntax: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 7: | Line 7: | ||
<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">%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">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">%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">%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"> | <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">name</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"> | <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">name</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">%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"> =</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">%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">persObjInfo</span><span class="literal">:[[SetTime (PersistentObjectInfo function)|SetTime]]</span></p> |
Revision as of 22:04, 19 July 2012
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( name)
%persObjInfo = [%(PersistentObjectInfo):]NewFromSession( name)
%persObjList = %(PersistentObjectInfo):SessionList[( [matchString])]
%string = persObjInfo:SetTime