JHtmlJGrid
class JHtmlJGrid
Utility class for creating HTML Grids
Methods
static
string
action(
integer $i,
string $task,
string|array $prefix = '',
string $text = '',
string $active_title = '',
string $inactive_title = '',
boolean $tip = false,
string $active_class = '',
string $inactive_class = '',
boolean $enabled = true,
boolean $translate = true,
string $checkbox = 'cb')
Returns an action on a grid
static
string
state(
array $states,
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
boolean $translate = true,
string $checkbox = 'cb')
Returns a state on a grid
static
string
published(
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
string $checkbox = 'cb',
string $publish_up = null,
string $publish_down = null)
Returns a published state on a grid
static
string
isdefault(
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
string $checkbox = 'cb')
Returns an isDefault state on a grid
static
string
publishedOptions(
array $config = array())
Returns an array of standard published state filter options.
static
string
checkedout(
integer $i,
string $editorName,
string $time,
string|array $prefix = '',
boolean $enabled = false,
string $checkbox = 'cb')
Returns a checked-out icon
static
string
orderUp(
integer $i,
string $task = 'orderup',
string|array $prefix = '',
string $text = 'JLIB_HTML_MOVE_UP',
boolean $enabled = true,
string $checkbox = 'cb')
Creates an order-up action icon.
static
string
orderDown(
integer $i,
string $task = 'orderdown',
string|array $prefix = '',
string $text = 'JLIB_HTML_MOVE_DOWN',
boolean $enabled = true,
string $checkbox = 'cb')
Creates an order-down action icon.
Details
static
string
action(
integer $i,
string $task,
string|array $prefix = '',
string $text = '',
string $active_title = '',
string $inactive_title = '',
boolean $tip = false,
string $active_class = '',
string $inactive_class = '',
boolean $enabled = true,
boolean $translate = true,
string $checkbox = 'cb')
Returns an action on a grid
static
string
state(
array $states,
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
boolean $translate = true,
string $checkbox = 'cb')
Returns a state on a grid
static
string
published(
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
string $checkbox = 'cb',
string $publish_up = null,
string $publish_down = null)
Returns a published state on a grid
static
string
isdefault(
integer $value,
integer $i,
string|array $prefix = '',
boolean $enabled = true,
string $checkbox = 'cb')
Returns an isDefault state on a grid
static
string
publishedOptions(
array $config = array())
Returns an array of standard published state filter options.
static
string
checkedout(
integer $i,
string $editorName,
string $time,
string|array $prefix = '',
boolean $enabled = false,
string $checkbox = 'cb')
Returns a checked-out icon