SearchTools
Searchtools elements.
abstract
since |
3.2 |
---|---|
package |
Joomla CMS |
Methods
form
Load searchtools for a specific form
form(mixed selector = '.js-stools-form', array options = array()) : void
static
since |
3.2 |
---|
Arguments
- selector
mixed
Is debugging mode on? [optional]- options
array
Optional array of parameters for search tools
optionsToRegistry
Function to receive & pre-process javascript options
optionsToRegistry(mixed options) : \Joomla\Registry\Registry
static
Arguments
- options
mixed
Associative array/Registry object with options
Response
\Joomla\Registry\Registry
Options converted to Registry object
sort
Method to sort a column in a grid
sort(string title, string order, string direction = 'asc', mixed selected, string task = null, string newDirection = 'asc', string tip = '', string icon = null, string formName = 'adminForm') : string
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