JHtmlSearchtools
Searchtools elements.
since |
3.2 |
---|---|
package |
Joomla.Libraries |
Methods
form
Load searchtools for a specific form
form(mixed $selector = '.js-stools-form', array $options = array()) : void
since |
3.2 |
---|
Arguments
- $selector
mixed
Is debugging mode on? [optional]- $options
array
Optional array of parameters for search tools
main
Load the main Searchtools libraries
main() : void
since |
3.2 |
---|
optionsToRegistry
Function to receive & pre-process javascript options
optionsToRegistry(mixed $options) : \Joomla\Registry\Registry
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
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
since |
3.2 |
---|
Type(s)
array