API - XOOPS 2.5.11 Beta 2
By monxoops.fr
XoopsFormTinymce Class Reference
Inheritance diagram for XoopsFormTinymce:
Collaboration diagram for XoopsFormTinymce:

Public Member Functions

 __construct ($configs)
 
 renderValidationJS ()
 
 getLanguage ()
 
 getFonts ()
 
 render ()
 
 isActive ()
 
- Public Member Functions inherited from XoopsEditor
 __construct ()
 
 isActive ()
 
- Public Member Functions inherited from XoopsFormTextArea
 __construct ($caption, $name, $value='', $rows=5, $cols=50)
 
 getRows ()
 
 getCols ()
 
 getValue ($encode=false)
 
 setValue ($value)
 
 render ()
 
- Public Member Functions inherited from 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 ()
 
 render ()
 

Data Fields

 $language
 
 $width = '100%'
 
 $height = '500px'
 
 $editor
 
- Data Fields inherited from XoopsEditor
 $isEnabled
 
 $configs
 
 $rootPath
 
 $_rows = 5
 
 $_cols = 50
 
- Data Fields inherited from XoopsFormTextArea
 $_cols
 
 $_rows
 
 $_value
 
- Data Fields inherited from XoopsFormElement
 $customValidationCode = array()
 
 $_name
 
 $_caption
 
 $_accesskey = ''
 
 $_class = array()
 
 $_hidden = false
 
 $_extra = array()
 
 $_required = false
 
 $_description = ''
 
 $_nocolspan = false
 
 $_formtype = ''
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

__construct (   $configs)

Constructor

Parameters
array$configsEditor Options
Here is the call graph for this function:

Member Function Documentation

◆ getFonts()

getFonts ( )
Returns
mixed
Here is the caller graph for this function:

◆ getLanguage()

getLanguage ( )

get language

Returns
string
Here is the caller graph for this function:

◆ isActive()

isActive ( )

Check if compatible

Returns
bool

Reimplemented from XoopsEditor.

◆ render()

render ( )

prepare HTML for output

Returns
string HTML

Reimplemented from XoopsFormTextArea.

◆ renderValidationJS()

renderValidationJS ( )

Renders the Javascript function needed for client-side for validation

I'VE USED THIS EXAMPLE TO WRITE VALIDATION CODE http://tinymce.moxiecode.com/punbb/viewtopic.php?id=12616

Returns
string

Reimplemented from XoopsFormElement.

Here is the call graph for this function:

Field Documentation

◆ $editor

$editor

◆ $height

$height = '500px'

◆ $language

$language

◆ $width

$width = '100%'

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