JHTMLGrid
Description
Utility class for creating HTML Grids
Located in /joomla/html/html/grid.php (line 23)
JHTMLGrid (Subpackage HTML)
Method Summary
Methods
string
id
(int $rowNum, int $recId, [boolean $checkedOut = false], [string $name = 'cid'])
- int $rowNum: The row index
- int $recId: The record id
- boolean $checkedOut
- string $name: The name of the form element
void
order
( $rows, [ $image = 'filesave.png'], [ $task = "saveorder"])
- $rows
- $image
- $task
void
published
( &$row, $i, [ $imgY = 'tick.png'], [ $imgX = 'publish_x.png'], [ $prefix = ''])
- &$row
- $i
- $imgY
- $imgX
- $prefix
void
sort
(string $title, string $order, [string $direction = 'asc'], string $selected, [string $task = NULL])
- string $title: The link title
- string $order: The order field for the column
- string $direction: The current direction
- string $selected: The selected ordering
- string $task: An optional task override
void
state
([ $filter_state = '*'], [ $published = 'Published'], [ $unpublished = 'Unpublished'], [ $archived = NULL], [ $trashed = NULL])
- $filter_state
- $published
- $unpublished
- $archived
- $trashed




JHTMLGrid (Subpackage HTML)