XOOPS
2.6.0
|
Public Member Functions | |
__construct ($configs) | |
getFonts () | |
getLanguage () | |
isActive () | |
render () | |
renderValidationJS () | |
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 27 of file formtinymce.php.
XoopsFormTinymce4::__construct | ( | $configs | ) |
Constructor
array | $configs | Editor Options |
Definition at line 40 of file formtinymce.php.
References XoopsEditor\$configs, $current_path, $height, XoopsEditor\$rootPath, $width, DIRECTORY_SEPARATOR, getFonts(), getLanguage(), and Xoops\Form\Element\getName().
XoopsFormTinymce4::getFonts | ( | ) |
Definition at line 107 of file formtinymce.php.
Referenced by __construct().
XoopsFormTinymce4::getLanguage | ( | ) |
get language
Definition at line 90 of file formtinymce.php.
References $language, and _LANGCODE.
Referenced by __construct().
XoopsFormTinymce4::isActive | ( | ) |
Check if compatible
Definition at line 134 of file formtinymce.php.
References $xoops_root_path, and XoopsBaseConfig\get().
XoopsFormTinymce4::render | ( | ) |
XoopsFormTinymce4::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 68 of file formtinymce.php.
References XoopsLocaleEn_US\F_ENTER, Xoops\Form\Element\getCaption(), Xoops\Form\Element\getName(), and Xoops\Form\Element\isRequired().
XoopsFormTinymce4::$editor |
Definition at line 33 of file formtinymce.php.
XoopsFormTinymce4::$height = "500px" |
Definition at line 31 of file formtinymce.php.
Referenced by __construct().
XoopsFormTinymce4::$language |
Definition at line 29 of file formtinymce.php.
Referenced by getLanguage().
XoopsFormTinymce4::$width = "100%" |
Definition at line 30 of file formtinymce.php.
Referenced by __construct().