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, $hiddentext='xoopsHiddenText', $options=array()) | |
render () | |
renderValidationJS () | |
Fonctions membres publiques hérités de XoopsFormTextArea | |
__construct ($caption, $name, $value='', $rows=5, $cols=50) | |
getRows () | |
getCols () | |
getValue ($encode=false) | |
setValue ($value) | |
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='') | |
Champs de données | |
$htmlEditor = array() | |
$_hiddenText | |
$skipPreview = false | |
$doHtml = false | |
$js = '' | |
Champs de données hérités de XoopsFormTextArea | |
$_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 with xoopsish formatting and smilie buttons
__construct | ( | $caption, | |
$name, | |||
$value = '' , |
|||
$rows = 5 , |
|||
$cols = 50 , |
|||
$hiddentext = 'xoopsHiddenText' , |
|||
$options = array() |
|||
) |
Constructor
string | $caption | Caption |
string | $name | "name" attribute |
string | $value | Initial text |
int | $rows | Number of rows |
int | $cols | Number of columns |
string | $hiddentext | Identifier for hidden Text |
array | $options | Extra options |
render | ( | ) |
Prepare HTML for output
Réimplémentée à partir de XoopsFormTextArea.
renderValidationJS | ( | ) |
XoopsFormDhtmlTextArea::renderValidationJS()
Réimplémentée à partir de XoopsFormElement.
$_hiddenText |
$doHtml = false |
$htmlEditor = array() |
Extended HTML editor
If an extended HTML editor is set, the renderer will be replaced by the specified editor, usually a visual or WYSIWYG editor.
and user guide:
run-time settings per call To use an editor pre-configured by XoopsEditor, e.g. 'fckeditor': $options['editor'] = 'fckeditor';
To use a custom editor, e.g. 'MyEditor' class located in "/modules/myeditor/myeditor.php": $options['editor'] = array('MyEditor', XOOPS_ROOT_PATH . "/modules/myeditor/myeditor.php");
pre-configured settings, which will force to use a editor if no specific editor is set for call
up custom configs: in XOOPS_VAR_PATH . '/configs/xoopsconfig.php' set a editor as default, e.g. a pre-configured editor 'fckeditor': return array('editor' => 'fckeditor');
a custom editor 'MyEditor' class located in "/modules/myeditor/myeditor.php": return array('editor' => array('MyEditor', XOOPS_ROOT_PATH . "/modules/myeditor/myeditor.php");
To disable the default editor, in XOOPS_VAR_PATH . '/configs/xoopsconfig.php': return array();
To disable the default editor for a specific call: $options['editor'] = 'dhtmltextarea';
$js = '' |
$skipPreview = false |