XOOPS
2.6.0
|
Public Member Functions | |
__construct ($caption, $name, $configs=null, $nohtml=false, $OnFailure= '') | |
render () | |
renderValidationJS () | |
Public Member Functions inherited from Xoops\Form\TextArea | |
__construct ($caption, $name, $value="", $rows=5, $cols=5, $placeholder= '') | |
getCols () | |
getPlaceholder () | |
getRows () | |
render () | |
Public Member Functions inherited from Xoops\Form\Element | |
getAccessKey () | |
getAccessString ($str) | |
getCaption () | |
getClass () | |
getDatalist () | |
getDescription ($encode=false) | |
getExtra ($encode=false) | |
getMaxcols () | |
getName () | |
getPattern () | |
getPatternDescription () | |
getTitle () | |
getValue ($encode=false) | |
isDatalist () | |
isHidden () | |
isRequired () | |
render () | |
renderAttributeString () | |
renderValidationJS () | |
setAccessKey ($key) | |
setCaption ($caption) | |
setClass ($class) | |
setDatalist ($datalist) | |
setDescription ($description) | |
setExtra ($extra, $replace=false) | |
setHidden () | |
setName ($name) | |
setPattern ($pattern, $pattern_description= '') | |
setRequired ($bool=true) | |
setTitle ($title) | |
setValue ($value) | |
Public Member Functions inherited from Xoops\Html\Attributes | |
addAttribute ($name, $value) | |
getAttribute ($name) | |
hasAttribute ($name) | |
renderAttributeString () | |
setAttribute ($name, $value=null) | |
setAttributes ($values) | |
unsetAttribute ($name) | |
Public Attributes | |
$editor | |
Public Attributes inherited from Xoops\Form\Element | |
$customValidationCode = array() | |
Additional Inherited Members | |
Protected Attributes inherited from Xoops\Form\Element | |
$value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
$attributes = array() | |
Definition at line 25 of file Editor.php.
Xoops\Form\Editor::__construct | ( | $caption, | |
$name, | |||
$configs = null , |
|||
$nohtml = false , |
|||
$OnFailure = '' |
|||
) |
Constructor
string | $caption | Caption |
string | $name | Name for textarea field |
array | null | $configs | configuration - keys: editor - editor identifier name - textarea field name width, height - dimensions for textarea value - text content |
bool | $nohtml | use non-WYSIWYG eitor onfailure |
string | $OnFailure | editor to be used if current one failed |
Definition at line 45 of file Editor.php.
References Xoops\Form\Element\$caption, $configs, $name, and XoopsEditorHandler\getInstance().
Xoops\Form\Editor::render | ( | ) |
Xoops\Form\Editor::renderValidationJS | ( | ) |
renderValidationJS TEMPORARY SOLUTION to 'override' original renderValidationJS method with custom XoopsEditor's renderValidationJS method
Definition at line 69 of file Editor.php.
References Xoops\Form\Element\getCaption(), Xoops\Form\Element\getName(), and Xoops\Form\Element\isRequired().
Xoops\Form\Editor::$editor |
Definition at line 30 of file Editor.php.