API17

Difference between revisions of "JHtmlList::genericordering"

From Joomla! Documentation

m (JoomlaWikiBot moved page JHtmlList::genericordering/11.1 to API17:JHtmlList::genericordering without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 55: Line 55:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JHtmlList]][[Category:JHtmlList::genericordering]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 16:34, 11 May 2013

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JHtmlList::genericordering[edit]

Description[edit]

Returns an array of options.

Template:Description:JHtmlList::genericordering [Edit Descripton]

public static function genericordering (
        $sql
        $chop= '30'
)
Parameter Type Default Description
$sql string SQL with ordering As value and 'name field' AS text
$chop integer '30' The length of the truncated headline
  • Returns array An array of objects formatted for list processing
  • Defined on line 74 of libraries/joomla/html/html/list.php
  • Since Joomla 11.1

See also[edit]

Template:SeeAlso:JHtmlList::genericordering [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />