SearchTools
Searchtools elements.
abstract
since |
3.2 |
---|---|
package |
Joomla CMS |
Methods
form
Load searchtools for a specific form
form( selector = '.js-stools-form', mixed||string|int options = []) :
static
since |
3.2 |
---|
Arguments
- selector
mixed
Is debugging mode on? [optional]- options
array<string|int, mixed>
Optional array of parameters for search tools
Response
void
optionsToRegistry
Function to receive & pre-process javascript options
optionsToRegistry( options) : \Joomla\Registry\Registry
static
Arguments
- options
mixed
Associative array/Registry object with options
Response
Registry
Options converted to Registry object
sort
Method to sort a column in a grid
sort( title, order, direction = 'asc', selected, task = null, newDirection = 'asc', tip = '', icon = null, formName = 'adminForm') :
static
Arguments
- title
string
The link title- order
string
The order field for the column- direction
string
The current direction- selected
mixed
The selected ordering- task
string
An optional task override- newDirection
string
An optional direction for the new column- tip
string
An optional text shown as tooltip title instead of $title- icon
string
Icon to show- formName
string
Name of the form to submit
Response
string
Properties
loaded
Array containing information for loaded files
static
since |
3.2 |
---|
Type(s)
array<string|int, mixed>