Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JHTMLGrid

Description

Utility class for creating HTML Grids

  • since: 1.5

Located in /joomla/html/html/grid.php (line 23)

Class JHTMLGrid   (Subpackage HTML)
Method Summary
Method void access ( &$row,  $i, [ $archived = NULL])
Method void checkedOut ( &$row,  $i, [ $identifier = 'id'])
Method string id (int $rowNum, int $recId, [boolean $checkedOut = false], [string $name = 'cid'])
Method void order ( $rows, [ $image = 'filesave.png'], [ $task = "saveorder"])
Method void published ( &$row,  $i, [ $imgY = 'tick.png'], [ $imgX = 'publish_x.png'], [ $prefix = ''])
Method void sort (string $title, string $order, [string $direction = 'asc'], [string $selected = 0], [string $task = NULL])
Method void state ([ $filter_state = '*'], [ $published = 'Published'], [ $unpublished = 'Unpublished'], [ $archived = NULL], [ $trashed = NULL])
Method void _checkedOut ( &$row, [ $overlib = 1])
Methods
access (line 65)
void access ( &$row,  $i, [ $archived = NULL])
  • &$row
  • $i
  • $archived
checkedOut (line 93)
void checkedOut ( &$row,  $i, [ $identifier = 'id'])
  • &$row
  • $i
  • $identifier
id (line 56)
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
order (line 149)
void order ( $rows, [ $image = 'filesave.png'], [ $task = "saveorder"])
  • $rows
  • $image
  • $task
published (line 115)
void published ( &$row,  $i, [ $imgY = 'tick.png'], [ $imgX = 'publish_x.png'], [ $prefix = ''])
  • &$row
  • $i
  • $imgY
  • $imgX
  • $prefix
sort (line 32)
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
state (line 130)
void state ([ $filter_state = '*'], [ $published = 'Published'], [ $unpublished = 'Unpublished'], [ $archived = NULL], [ $trashed = NULL])
  • $filter_state
  • $published
  • $unpublished
  • $archived
  • $trashed
_checkedOut (line 157)
void _checkedOut ( &$row, [ $overlib = 1])
  • &$row
  • $overlib
Support Joomla!