JHtmlGrid::state
Method to create a select list of states for filtering By default the filter shows only published and unpublished items
Signature
public function state([string
$filter_state = '*',
[string
$published = 'Published',
[string
$unpublished = 'Unpublished',
[string
$archived = null,
[string
$trashed = null]]]]] )
Parameters
-
$filter_state
- The initial filter state
-
$published
- The JText string for published
-
$unpublished
- The JText string for Unpublished
-
$archived
- The JText string for Archived
-
$trashed
- The JText string for Trashed
Returns
- string