|
XOOPS 2.5.6
Final
|

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() | |
Definition at line 26 of file formtinymce.php.
| XoopsFormTinymce::__construct | ( | $configs | ) |
Constructor
| array | $configs | Editor 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().

| XoopsFormTinymce::getFonts | ( | ) |
Definition at line 108 of file formtinymce.php.
Referenced by __construct().

| XoopsFormTinymce::getLanguage | ( | ) |
get language
Definition at line 91 of file formtinymce.php.
References $language, _CHARSET, and _LANGCODE.
Referenced by __construct().

| XoopsFormTinymce::isActive | ( | ) |
| XoopsFormTinymce::render | ( | ) |
prepare HTML for output
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
Definition at line 71 of file formtinymce.php.
References $ret, _FORM_ENTER, XoopsFormElement\getCaption(), XoopsFormElement\getName(), and XoopsFormElement\isRequired().

| XoopsFormTinymce::XoopsFormTinymce | ( | $configs | ) |
Definition at line 58 of file formtinymce.php.
References XoopsEditor\$configs, and XoopsEditor\__construct().

| 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().