XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Fonctions membres publiques | |
__construct ($caption, $name, $value='', $rows=5, $cols=50) | |
getRows () | |
getCols () | |
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 | |
$_cols | |
$_rows | |
$_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 textarea
__construct | ( | $caption, | |
$name, | |||
$value = '' , |
|||
$rows = 5 , |
|||
$cols = 50 |
|||
) |
Constuctor
string | $caption | caption |
string | $name | name |
string | $value | initial content |
int | $rows | number of rows |
int | $cols | number of columns |
Réimplémentée dans XoopsFormEditor.
getCols | ( | ) |
Get number of columns
getRows | ( | ) |
get number of rows
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 |
render | ( | ) |
prepare HTML for output
Réimplémentée à partir de XoopsFormElement.
Réimplémentée dans XoopsFormDhtmlTextArea, XoopsFormTinymce, XoopsFormEditor, et FormDhtmlTextArea.
setValue | ( | $value | ) |
Set initial content
string | $value |
$_cols |
$_rows |
$_value |