JHtmlGrid::id
Method to create a checkbox for a grid row.
Signature
public function id(integer
$rowNum,
[integer
$recId = false,
[boolean
$checkedOut = false,
[string
$name = 'cid']]] )
Parameters
-
$rowNum
- The row index
-
$recId
- The record id
-
$checkedOut
- True if item is checke out
-
$name
- The name of the form element
Returns
- mixed
- String of html with a checkbox if item is not checked out, null if checked out.