Liste de tous les membres
Fonctions membres publiques
- option ($value, $text='', $value_name='value', $text_name='text', $disable=false)
- optgroup ($text, $value_name= 'value', $text_name= 'text')
- options ($arr, $key= 'value', $text= 'text', $selected=null, $translate=false)
- genericlist ($arr, $name, $attribs=null, $key= 'value', $text= 'text', $selected=NULL, $idtag=false, $translate=false)
- integerlist ($start, $end, $inc, $name, $attribs=null, $selected=null, $format="")
- radiolist ($arr, $name, $attribs=null, $key= 'value', $text= 'text', $selected=null, $idtag=false, $translate=false)
- booleanlist ($name, $attribs=null, $selected=null, $yes='yes', $no='no', $id=false)
Documentation des fonctions membres
JHTMLSelect::booleanlist |
( |
$ |
name, |
|
|
$ |
attribs = null , |
|
|
$ |
selected = null , |
|
|
$ |
yes = 'yes' , |
|
|
$ |
no = 'no' , |
|
|
$ |
id = false |
|
) |
| |
Generates a yes/no radio list
- Paramètres:
-
string | The value of the HTML name attribute |
string | Additional HTML attributes for the <select> tag |
mixed | The key that is selected |
- Renvoie:
- string HTML for the radio list
Références $id, $name, JText::_(), et JHTML::_().
JHTMLSelect::genericlist |
( |
$ |
arr, |
|
|
$ |
name, |
|
|
$ |
attribs = null , |
|
|
$ |
key = 'value' , |
|
|
$ |
text = 'text' , |
|
|
$ |
selected = NULL , |
|
|
$ |
idtag = false , |
|
|
$ |
translate = false |
|
) |
| |
Generates an HTML select list
- Paramètres:
-
array | An array of objects |
string | The value of the HTML name attribute |
string | Additional HTML attributes for the <select> tag |
string | The name of the object variable for the option value |
string | The name of the object variable for the option text |
mixed | The key that is selected (accepts an array or a string) |
- Renvoie:
- string HTML for the select list
Références $id, $name, $text, et JArrayHelper::toString().
JHTMLSelect::integerlist |
( |
$ |
start, |
|
|
$ |
end, |
|
|
$ |
inc, |
|
|
$ |
name, |
|
|
$ |
attribs = null , |
|
|
$ |
selected = null , |
|
|
$ |
format = "" |
|
) |
| |
Generates a select list of integers
- Paramètres:
-
int | The start integer |
int | The end integer |
int | The increment |
string | The value of the HTML name attribute |
string | Additional HTML attributes for the <select> tag |
mixed | The key that is selected |
string | The printf format to be applied to the number |
- Renvoie:
- string HTML for the select list
Références $i, $name, $start, et JHTML::_().
JHTMLSelect::optgroup |
( |
$ |
text, |
|
|
$ |
value_name = 'value' , |
|
|
$ |
text_name = 'text' |
|
) |
| |
- Paramètres:
-
string | The text for the option |
string | The returned object property name for the value |
string | The returned object property name for the text |
- Renvoie:
- object
Références $text.
JHTMLSelect::option |
( |
$ |
value, |
|
|
$ |
text = '' , |
|
|
$ |
value_name = 'value' , |
|
|
$ |
text_name = 'text' , |
|
|
$ |
disable = false |
|
) |
| |
- Paramètres:
-
string | The value of the option |
string | The text for the option |
string | The returned object property name for the value |
string | The returned object property name for the text |
- Renvoie:
- object
Références $text.
JHTMLSelect::options |
( |
$ |
arr, |
|
|
$ |
key = 'value' , |
|
|
$ |
text = 'text' , |
|
|
$ |
selected = null , |
|
|
$ |
translate = false |
|
) |
| |
Generates just the option tags for an HTML select list
- Paramètres:
-
array | An array of objects |
string | The name of the object variable for the option value |
string | The name of the object variable for the option text |
mixed | The key that is selected (accepts an array or a string) |
- Renvoie:
- string HTML for the select list
Références $i, $id, $k, $option, $text, JText::_(), et JFilterOutput::ampReplace().
JHTMLSelect::radiolist |
( |
$ |
arr, |
|
|
$ |
name, |
|
|
$ |
attribs = null , |
|
|
$ |
key = 'value' , |
|
|
$ |
text = 'text' , |
|
|
$ |
selected = null , |
|
|
$ |
idtag = false , |
|
|
$ |
translate = false |
|
) |
| |
Generates an HTML radio list
- Paramètres:
-
array | An array of objects |
string | The value of the HTML name attribute |
string | Additional HTML attributes for the <select> tag |
mixed | The key that is selected |
string | The name of the object variable for the option value |
string | The name of the object variable for the option text |
- Renvoie:
- string HTML for the select list
Références $i, $id, $k, $n, $name, $text, JText::_(), et JArrayHelper::toString().
La documentation de cette classe a été générée à partir du fichier suivant :