JHtmlGrid::published
Method to create a clickable icon to change the state of an item
Signature
public function published(mixed
$value,
[integer
$i = 'tick.png',
[string
$img1 = 'tick.png',
[string
$img0 = 'publish_x.png',
[string
$prefix = '']]]] )
Parameters
-
$value
- Either the scalar value or an object (for backward compatibility, deprecated)
-
$i
- The index
-
$img1
- Image for a positive or on value
-
$img0
- Image for the empty or off value
-
$prefix
- An optional prefix for the task
Returns
- string