![]() |
XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Graphe d'héritage de XoopsFormText:
Graphe de collaboration de XoopsFormText:Fonctions membres publiques | |
| __construct ($caption, $name, $size, $maxlength, $value='') | |
| getSize () | |
| getMaxlength () | |
| getValue ($encode=false) | |
| setValue ($value) | |
| render () | |
Fonctions membres publiques hérités de XoopsFormElement | |
| __construct () | |
| isContainer () | |
| setName ($name) | |
| getName ($encode=true) | |
| setAccessKey ($key) | |
| getAccessKey () | |
| getAccessString ($str) | |
| setClass ($class) | |
| getClass () | |
| setCaption ($caption) | |
| getCaption ($encode=false) | |
| getTitle ($encode=true) | |
| setDescription ($description) | |
| getDescription ($encode=false) | |
| setHidden () | |
| isHidden () | |
| isRequired () | |
| setExtra ($extra, $replace=false) | |
| getExtra ($encode=false) | |
| setNocolspan ($nocolspan=true) | |
| getNocolspan () | |
| getFormType () | |
| setFormType ($value='') | |
| renderValidationJS () | |
Champs de données | |
| $_size | |
| $_maxlength | |
| $_value | |
Champs de données hérités de XoopsFormElement | |
| $customValidationCode = array() | |
| $_name | |
| $_caption | |
| $_accesskey = '' | |
| $_class = array() | |
| $_hidden = false | |
| $_extra = array() | |
| $_required = false | |
| $_description = '' | |
| $_nocolspan = false | |
| $_formtype = '' | |
A simple text field
| __construct | ( | $caption, | |
| $name, | |||
| $size, | |||
| $maxlength, | |||
$value = '' |
|||
| ) |
Constructor
| string | $caption | Caption |
| string | $name | "name" attribute |
| int | $size | Size |
| int | $maxlength | Maximum length of text |
| string | $value | Initial text |
Voici le graphe d'appel pour cette fonction :| getMaxlength | ( | ) |
Get maximum text length
Voici le graphe des appelants de cette fonction :| getSize | ( | ) |
Get size
Voici le graphe des appelants de cette fonction :| getValue | ( | $encode = false | ) |
Get initial content
| bool | $encode | To sanitizer the text? Default value should be "true"; however we have to set "false" for backward compatibility |
Voici le graphe des appelants de cette fonction :| render | ( | ) |
Prepare HTML for output
Réimplémentée à partir de XoopsFormElement.
Réimplémentée dans XoopsFormColorPicker, et XoopsFormTextDateSelect.
Voici le graphe d'appel pour cette fonction :| setValue | ( | $value | ) |
Set initial text value
| string | $value |
Voici le graphe des appelants de cette fonction :| $_maxlength |
| $_size |
| $_value |