XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsFormEditor Class Reference
Inheritance diagram for XoopsFormEditor:
Inheritance graph

Public Member Functions

 render ()
 
 renderValidationJS ()
 
 XoopsFormEditor ($caption, $name, $configs=null, $nohtml=false, $OnFailure= '')
 
- Public Member Functions inherited from XoopsFormTextArea
 getCols ()
 
 getRows ()
 
 getValue ($encode=false)
 
 render ()
 
 setValue ($value)
 
 XoopsFormTextArea ($caption, $name, $value="", $rows=5, $cols=50)
 
- Public Member Functions inherited from XoopsFormElement
 getAccessKey ()
 
 getAccessString ($str)
 
 getCaption ($encode=false)
 
 getClass ()
 
 getDescription ($encode=false)
 
 getExtra ($encode=false)
 
 getFormType ()
 
 getName ($encode=true)
 
 getNocolspan ()
 
 getTitle ($encode=true)
 
 isContainer ()
 
 isHidden ()
 
 isRequired ()
 
 render ()
 
 renderValidationJS ()
 
 setAccessKey ($key)
 
 setCaption ($caption)
 
 setClass ($class)
 
 setDescription ($description)
 
 setExtra ($extra, $replace=false)
 
 setFormType ($value= '')
 
 setHidden ()
 
 setName ($name)
 
 setNocolspan ($nocolspan=true)
 
 XoopsFormElement ()
 

Public Attributes

 $editor
 
- Public Attributes inherited from XoopsFormTextArea
 $_cols
 
 $_rows
 
 $_value
 
- Public Attributes inherited from XoopsFormElement
 $_accesskey = ''
 
 $_caption
 
 $_class = array()
 
 $_description = ''
 
 $_extra = array()
 
 $_formtype = ''
 
 $_hidden = false
 
 $_name
 
 $_nocolspan = false
 
 $_required = false
 
 $customValidationCode = array()
 

Detailed Description

XOOPS Form Editor

Definition at line 28 of file formeditor.php.

Member Function Documentation

XoopsFormEditor::render ( )

XoopsFormEditor::render()

Returns

Definition at line 84 of file formeditor.php.

XoopsFormEditor::renderValidationJS ( )

renderValidationJS TEMPORARY SOLUTION to 'override' original renderValidationJS method with custom XoopsEditor's renderValidationJS method

Definition at line 63 of file formeditor.php.

References $ret.

XoopsFormEditor::XoopsFormEditor (   $caption,
  $name,
  $configs = null,
  $nohtml = false,
  $OnFailure = '' 
)

Constructor

Parameters
string$captionCaption
string$nameName for textarea field
string$valueInitial text
array$configsconfigures: editor - editor identifier; name - textarea field name; width, height - dimensions for textarea; value - text content
bool$noHtmluse non-WYSIWYG eitor onfailure
string$OnFailureeditor to be used if current one failed

Definition at line 42 of file formeditor.php.

References $configs, XoopsEditorHandler\getInstance(), and xoops_load().

Here is the call graph for this function:

Member Data Documentation

XoopsFormEditor::$editor

Definition at line 30 of file formeditor.php.


The documentation for this class was generated from the following file: