Actions

API17

Difference between revisions of "JHtmlList::genericordering"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JHtmlList::genericordering|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JHtmlList::genericordering|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
public static JHtmlList::genericordering ($sql, $chop= '30')
+
public static function genericordering (
 +
        $sql
 +
        $chop= '30'
 +
)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 32: Line 32:
 
|-
 
|-
 
|}
 
|}
===Returns===
+
* '''Returns''' array An array of objects formatted for  list processing
array An array of objects formatted for  list processing
+
* '''Defined''' on line 74 of libraries/joomla/html/html/list.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/html/html/list.php (line 74)
+
* see source code in [[jplatform:html/html/list.php#cl-74|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JHtmlList::genericordering source code''' on [[jplatform:html/html/list.php#cl-66|BitBucket]]
 +
* {{JVer|11.1}} Class [[JHtmlList/11.1|JHtmlList]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Html/11.1|Html]]
 +
* [[JHtmlList::genericordering|Other versions of JHtmlList::genericordering]]
 +
{{SeeAlso:JHtmlList::genericordering}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlList::genericordering|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JHtmlList::genericordering|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JHtmlList/11.1|JHtmlList]]
+
===User contributed notes===
* [[JHtmlList::genericordering|Other versions of this method]]
+
{{SeeAlso:JHtmlList::genericordering}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: Line 52:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JHtmlList]][[Category:JHtmlList::genericordering]]</noinclude>
 
<noinclude>[[Category:JHtmlList]][[Category:JHtmlList::genericordering]]</noinclude>

Revision as of 21:07, 27 April 2011

Replacement filing cabinet.png
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.

Joomla 11.1 JHtmlList::genericordering

Description

Returns an array of options.

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

SeeAlso:JHtmlList::genericordering [Edit See Also]

User contributed notes

<CodeExamplesForm />