Liste de tous les membres
Fonctions membres publiques statiques |
static | action ($i, $task, $prefix= '', $text= '', $active_title= '', $inactive_title= '', $tip=false, $active_class= '', $inactive_class= '', $enabled=true, $translate=true, $checkbox= 'cb') |
static | state ($states, $value, $i, $prefix= '', $enabled=true, $translate=true, $checkbox= 'cb') |
static | published ($value, $i, $prefix= '', $enabled=true, $checkbox= 'cb', $publish_up=null, $publish_down=null) |
static | isdefault ($value, $i, $prefix= '', $enabled=true, $checkbox= 'cb') |
static | publishedOptions ($config=array()) |
static | checkedout ($i, $editorName, $time, $prefix= '', $enabled=false, $checkbox= 'cb') |
static | orderUp ($i, $task= 'orderup', $prefix= '', $text= 'JLIB_HTML_MOVE_UP', $enabled=true, $checkbox= 'cb') |
static | orderDown ($i, $task= 'orderdown', $prefix= '', $text= 'JLIB_HTML_MOVE_DOWN', $enabled=true, $checkbox= 'cb') |
Documentation des fonctions membres
static JHtmlJGrid::action |
( |
|
$i, |
|
|
|
$task, |
|
|
|
$prefix = '' , |
|
|
|
$text = '' , |
|
|
|
$active_title = '' , |
|
|
|
$inactive_title = '' , |
|
|
|
$tip = false , |
|
|
|
$active_class = '' , |
|
|
|
$inactive_class = '' , |
|
|
|
$enabled = true , |
|
|
|
$translate = true , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Returns an action on a grid
- Paramètres:
-
integer | $i | The row index |
string | $task | The task to fire |
string | array | $prefix | An optional task prefix or an array of options |
string | $text | An optional text to display |
string | $active_title | An optional active tooltip to display if $enable is true |
string | $inactive_title | An optional inactive tooltip to display if $enable is true |
boolean | $tip | An optional setting for tooltip |
string | $active_class | An optional active HTML class |
string | $inactive_class | An optional inactive HTML class |
boolean | $enabled | An optional setting for access control on the action. |
boolean | $translate | An optional setting for translation. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The Html code
- Depuis:
- 11.1
Références $enabled, $html, $i, $options, $task, $text, JHtml\_(), et text.
static JHtmlJGrid::checkedout |
( |
|
$i, |
|
|
|
$editorName, |
|
|
|
$time, |
|
|
|
$prefix = '' , |
|
|
|
$enabled = false , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Returns a checked-out icon
- Paramètres:
-
integer | $i | The row index. |
string | $editorName | The name of the editor. |
string | $time | The time that the object was checked out. |
string | array | $prefix | An optional task prefix or an array of options |
boolean | $enabled | True to enable the action. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The required HTML.
- Depuis:
- 11.1
static JHtmlJGrid::isdefault |
( |
|
$value, |
|
|
|
$i, |
|
|
|
$prefix = '' , |
|
|
|
$enabled = true , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Returns a isDefault state on a grid
- Paramètres:
-
integer | $value | The state value. |
integer | $i | The row index |
string | array | $prefix | An optional task prefix or an array of options |
boolean | $enabled | An optional setting for access control on the action. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The HTML code
- Voir également:
- JHtmlJGrid::state
- Depuis:
- 11.1
static JHtmlJGrid::orderDown |
( |
|
$i, |
|
|
|
$task = 'orderdown' , |
|
|
|
$prefix = '' , |
|
|
|
$text = 'JLIB_HTML_MOVE_DOWN' , |
|
|
|
$enabled = true , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Creates a order-down action icon.
- Paramètres:
-
integer | $i | The row index. |
string | $task | An optional task to fire. |
string | array | $prefix | An optional task prefix or an array of options |
string | $text | An optional text to display |
boolean | $enabled | An optional setting for access control on the action. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The required HTML.
- Depuis:
- 11.1
static JHtmlJGrid::orderUp |
( |
|
$i, |
|
|
|
$task = 'orderup' , |
|
|
|
$prefix = '' , |
|
|
|
$text = 'JLIB_HTML_MOVE_UP' , |
|
|
|
$enabled = true , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Creates a order-up action icon.
- Paramètres:
-
integer | $i | The row index. |
string | $task | An optional task to fire. |
string | array | $prefix | An optional task prefix or an array of options |
string | $text | An optional text to display |
boolean | $enabled | An optional setting for access control on the action. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The required HTML.
- Depuis:
- 11.1
static JHtmlJGrid::published |
( |
|
$value, |
|
|
|
$i, |
|
|
|
$prefix = '' , |
|
|
|
$enabled = true , |
|
|
|
$checkbox = 'cb' , |
|
|
|
$publish_up = null , |
|
|
|
$publish_down = null |
|
) |
| |
|
static |
Returns a published state on a grid
- Paramètres:
-
integer | $value | The state value. |
integer | $i | The row index |
string | array | $prefix | An optional task prefix or an array of options |
boolean | $enabled | An optional setting for access control on the action. |
string | $checkbox | An optional prefix for checkboxes. |
string | $publish_up | An optional start publishing date. |
string | $publish_down | An optional finish publishing date. |
- Renvoie:
- string The Html code
- Voir également:
- JHtmlJGrid::state
- Depuis:
- 11.1
static JHtmlJGrid::publishedOptions |
( |
|
$config = array() | ) |
|
|
static |
Returns an array of standard published state filter options.
- Paramètres:
-
array | $config | An array of configuration options. This array can contain a list of key/value pairs where values are boolean and keys can be taken from 'published', 'unpublished', 'archived', 'trash', 'all'. These pairs determine which values are displayed. |
- Renvoie:
- string The HTML code for the select tag
- Depuis:
- 11.1
static JHtmlJGrid::state |
( |
|
$states, |
|
|
|
$value, |
|
|
|
$i, |
|
|
|
$prefix = '' , |
|
|
|
$enabled = true , |
|
|
|
$translate = true , |
|
|
|
$checkbox = 'cb' |
|
) |
| |
|
static |
Returns a state on a grid
- Paramètres:
-
array | $states | array of value/state. Each state is an array of the form (task, text, title,html active class, HTML inactive class) or ('task'=>task, 'text'=>text, 'active_title'=>active title, 'inactive_title'=>inactive title, 'tip'=>boolean, 'active_class'=>html active class, 'inactive_class'=>html inactive class) |
integer | $value | The state value. |
integer | $i | The row index |
string | array | $prefix | An optional task prefix or an array of options |
boolean | $enabled | An optional setting for access control on the action. |
boolean | $translate | An optional setting for translation. |
string | $checkbox | An optional prefix for checkboxes. |
- Renvoie:
- string The Html code
- Depuis:
- 11.1
La documentation de cette classe a été générée à partir du fichier suivant :