XOOPS  2.6.0
XoopsEditor Class Reference
Inheritance diagram for XoopsEditor:
Inheritance graph

Public Member Functions

 __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

 $configs
 
 $isEnabled
 
 $rootPath
 
const CACHE_KEY_EDITOR_LIST = 'system/editorlist'
 
- Public Attributes inherited from Xoops\Form\Element
 $customValidationCode = array()
 

Protected Attributes

 $cols
 
 $rows
 
- Protected Attributes inherited from Xoops\Form\Element
 $value = ''
 
- Protected Attributes inherited from Xoops\Html\Attributes
 $attributes = array()
 

Detailed Description

Definition at line 21 of file xoopseditor.php.

Constructor & Destructor Documentation

XoopsEditor::__construct ( )

Constructor

Definition at line 60 of file xoopseditor.php.

References $configs, $i, isActive(), and Xoops\Html\Attributes\setAttribute().

Referenced by XoopsFormTinymce\XoopsFormTinymce().

Here is the call graph for this function:

Here is the caller graph for this function:

Member Function Documentation

XoopsEditor::isActive ( )
Returns
bool

Definition at line 108 of file xoopseditor.php.

References $isEnabled.

Referenced by __construct().

Here is the caller graph for this function:

XoopsEditor::setConfig (   $options)
Parameters
array$options
Returns
void

Definition at line 118 of file xoopseditor.php.

References $options.

Referenced by XoopsEditorHandler\setConfig().

Here is the caller graph for this function:

Member Data Documentation

XoopsEditor::$cols
protected

Definition at line 48 of file xoopseditor.php.

XoopsEditor::$isEnabled

Definition at line 31 of file xoopseditor.php.

Referenced by isActive().

XoopsEditor::$rootPath

Definition at line 41 of file xoopseditor.php.

Referenced by XoopsFormTinymce\__construct(), and XoopsFormTinymce4\__construct().

XoopsEditor::$rows
protected

Definition at line 55 of file xoopseditor.php.

const XoopsEditor::CACHE_KEY_EDITOR_LIST = 'system/editorlist'

make cache key available as XoopsEditor::CACHE_KEY_EDITOR_LIST

Definition at line 26 of file xoopseditor.php.

Referenced by XoopsEditorHandler\getList().


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