|
XOOPS
2.6.0
|

Public Member Functions | |
| __construct ($configs) | |
| getFonts () | |
| getLanguage () | |
| isActive () | |
| render () | |
| renderValidationJS () | |
| XoopsFormTinymce ($configs) | |
Public Member Functions inherited from XoopsEditor | |
| __construct () | |
| isActive () | |
| setConfig ($options) | |
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 | |
| $height = "500px" | |
| $language | |
| $width = "100%" | |
Public Attributes inherited from XoopsEditor | |
| $configs | |
| $isEnabled | |
| $rootPath | |
| const | CACHE_KEY_EDITOR_LIST = 'system/editorlist' |
Public Attributes inherited from Xoops\Form\Element | |
| $customValidationCode = array() | |
Additional Inherited Members | |
Protected Attributes inherited from XoopsEditor | |
| $cols | |
| $rows | |
Protected Attributes inherited from Xoops\Form\Element | |
| $value = '' | |
Protected Attributes inherited from Xoops\Html\Attributes | |
| $attributes = 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(), Xoops\Form\Element\getName(), and Xoops\Form\Element\setClass().

| 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, Xoops_Locale_Abstract\getCharset(), and Xoops_Locale_Abstract\getLangCode().
Referenced by __construct().


| XoopsFormTinymce::isActive | ( | ) |
Check if compatible
Definition at line 135 of file formtinymce.php.
References XoopsBaseConfig\get().

| XoopsFormTinymce::render | ( | ) |
| 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 XoopsLocaleEn_US\F_ENTER, Xoops\Form\Element\getCaption(), Xoops\Form\Element\getName(), and Xoops\Form\Element\isRequired().

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

| XoopsFormTinymce::$editor |
Definition at line 31 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().