SortOrder methods syntax: Difference between revisions
Jump to navigation
Jump to search
m (Automatically generated page update) |
m (Automatically generated page update) |
||
Line 4: | Line 4: | ||
<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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[Ascending (SortOrder function)|Ascending]]</span><span class="literal">(</span> <span class="term" title="ItemFunction">itemFunction</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:1px solid;"><span class="term">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[Ascending (SortOrder function)|Ascending]]</span><span class="literal">(</span> <span class="term" title="ItemFunction">itemFunction</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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[Descending (SortOrder function)|Descending]]</span><span class="literal">(</span> <span class="term" title="ItemFunction">itemFunction</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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[Descending (SortOrder function)|Descending]]</span><span class="literal">(</span> <span class="term" title="ItemFunction">itemFunction</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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[List (SortOrder function)|List]]</span><span class="literal">(</span> <span class="term" title="List"> | <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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[List (SortOrder function)|List]]</span><span class="literal">(</span> <span class="term" title="List">sortOrderItems</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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[New (SortOrder constructor)|New]]</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">%sortOrder</span><span class="literal"> =</span> <span class="literal">%(SortOrder):[[New (SortOrder constructor)|New]]</span></p> |
Revision as of 17:38, 27 June 2011
The syntax for each of the SortOrder 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 SortOrder methods.
%sortOrder = %(SortOrder):Ascending( itemFunction)
%sortOrder = %(SortOrder):Descending( itemFunction)
%sortOrder = %(SortOrder):List( sortOrderItems)
%sortOrder = %(SortOrder):New