|
static | form ($selector='.js-stools-form', $options=array()) |
|
static | sort ( $title, $order, $direction='asc', $selected=0, $task=null, $newDirection='asc', $tip='', $icon=null, $formName='adminForm') |
|
Searchtools elements.
- Depuis
- 3.2
◆ form()
static form |
( |
|
$selector = '.js-stools-form' , |
|
|
|
$options = array() |
|
) |
| |
|
static |
◆ optionsToRegistry()
static optionsToRegistry |
( |
|
$options | ) |
|
|
staticprivate |
Function to receive & pre-process javascript options
- Paramètres
-
mixed | $options | Associative array/Registry object with options |
- Renvoie
- Registry Options converted to Registry object
Références $options.
◆ sort()
static sort |
( |
|
$title, |
|
|
|
$order, |
|
|
|
$direction = 'asc' , |
|
|
|
$selected = 0 , |
|
|
|
$task = null , |
|
|
|
$newDirection = 'asc' , |
|
|
|
$tip = '' , |
|
|
|
$icon = null , |
|
|
|
$formName = 'adminForm' |
|
) |
| |
|
static |
Method to sort a column in a grid
- Paramètres
-
string | $title | The link title |
string | $order | The order field for the column |
string | $direction | The current direction |
mixed | $selected | The selected ordering |
string | $task | An optional task override |
string | $newDirection | An optional direction for the new column |
string | $tip | An optional text shown as tooltip title instead of $title |
string | $icon | Icon to show |
string | $formName | Name of the form to submit |
- Renvoie
- string
Références $data, $direction, $icon, $selected, $task, $title, et LayoutHelper\render().
◆ $loaded
La documentation de cette classe a été générée à partir du fichier suivant :