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

Public Member Functions

 __construct ($configs)
 
 getFonts ()
 
 getLanguage ()
 
 isActive ()
 
 render ()
 
 renderValidationJS ()
 
 XoopsFormTinymce ($configs)
 
- Public Member Functions inherited from XoopsEditor
 __construct ()
 
 isActive ()
 
 XoopsEditor ($configs)
 
- 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
 
 $height = "500px"
 
 $language
 
 $width = "100%"
 
- Public Attributes inherited from XoopsEditor
 $_cols = 50
 
 $_rows = 5
 
 $configs
 
 $isEnabled
 
 $rootPath
 
- 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

Definition at line 26 of file formtinymce.php.

Constructor & Destructor Documentation

XoopsFormTinymce::__construct (   $configs)

Constructor

Parameters
array$configsEditor Options

Definition at line 38 of file formtinymce.php.

References XoopsEditor\$configs, $current_path, $height, XoopsEditor\$rootPath, $width, DIRECTORY_SEPARATOR, getFonts(), getLanguage(), and XoopsFormElement\getName().

Here is the call graph for this function:

Member Function Documentation

XoopsFormTinymce::getFonts ( )

Definition at line 108 of file formtinymce.php.

Referenced by __construct().

Here is the caller graph for this function:

XoopsFormTinymce::getLanguage ( )

get language

Returns
string

Definition at line 91 of file formtinymce.php.

References $language, _CHARSET, and _LANGCODE.

Referenced by __construct().

Here is the caller graph for this function:

XoopsFormTinymce::isActive ( )

Check if compatible

Returns

Definition at line 135 of file formtinymce.php.

XoopsFormTinymce::render ( )

prepare HTML for output

Returns
sting HTML

Definition at line 122 of file formtinymce.php.

References $ret.

XoopsFormTinymce::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

Definition at line 71 of file formtinymce.php.

References $ret, _FORM_ENTER, XoopsFormElement\getCaption(), XoopsFormElement\getName(), and XoopsFormElement\isRequired().

Here is the call graph for this function:

XoopsFormTinymce::XoopsFormTinymce (   $configs)

Definition at line 58 of file formtinymce.php.

References XoopsEditor\$configs, and XoopsEditor\__construct().

Here is the call graph for this function:

Member Data Documentation

XoopsFormTinymce::$editor

Definition at line 32 of file formtinymce.php.

XoopsFormTinymce::$height = "500px"

Definition at line 30 of file formtinymce.php.

Referenced by __construct().

XoopsFormTinymce::$language

Definition at line 28 of file formtinymce.php.

Referenced by getLanguage().

XoopsFormTinymce::$width = "100%"

Definition at line 29 of file formtinymce.php.

Referenced by __construct().


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