XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
XoopsEditorHandler Class Reference

Public Member Functions

 __construct ()
 
 _loadEditor ($name, $options=null)
 
 get ($name= '', $options=null, $noHtml=false, $OnFailure= '')
 
 getList ($noHtml=false)
 
 render ($editor)
 
 setConfig ($editor, $options)
 
 XoopsEditorHandler ()
 

Static Public Member Functions

getInstance ()
 

Public Attributes

 $allowed_editors = array()
 
 $nohtml = false
 
 $root_path = ""
 

Detailed Description

Definition at line 87 of file xoopseditor.php.

Constructor & Destructor Documentation

XoopsEditorHandler::__construct ( )

Enter description here...

Definition at line 97 of file xoopseditor.php.

Referenced by XoopsEditorHandler().

Here is the caller graph for this function:

Member Function Documentation

XoopsEditorHandler::_loadEditor (   $name,
  $options = null 
)

XoopsEditorHandler::_loadEditor()

Parameters
mixed$name
mixed$options
Returns

Definition at line 237 of file xoopseditor.php.

References $config, $editor, $file, $GLOBALS, $options, and getList().

Referenced by get().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsEditorHandler::get (   $name = '',
  $options = null,
  $noHtml = false,
  $OnFailure = '' 
)
Parameters
string$nameEditor name which is actually the folder name
array$optionseditor options: $key => $val
string$OnFailurea pre-validated editor that will be used if the required editor is failed to create
bool$noHtmldohtml disabled

Definition at line 131 of file xoopseditor.php.

References $editor, $options, _loadEditor(), and getList().

Here is the call graph for this function:

& XoopsEditorHandler::getInstance ( )
static

Access the only instance of this class

Returns
object

object

Definition at line 114 of file xoopseditor.php.

Referenced by XoopsFormSelectEditor\render(), XoopsFormDhtmlTextArea\XoopsFormDhtmlTextArea(), and XoopsFormEditor\XoopsFormEditor().

Here is the caller graph for this function:

XoopsEditorHandler::getList (   $noHtml = false)

XoopsEditorHandler::getList()

Parameters
mixed$noHtml
Returns

Definition at line 150 of file xoopseditor.php.

References $config, $editors, $file, $GLOBALS, XoopsCache\read(), XoopsCache\write(), and xoops_load().

Referenced by _loadEditor(), and get().

Here is the call graph for this function:

Here is the caller graph for this function:

XoopsEditorHandler::render (   $editor)

XoopsEditorHandler::render()

Parameters
mixed$editor
Returns

Definition at line 206 of file xoopseditor.php.

References $editor.

XoopsEditorHandler::setConfig (   $editor,
  $options 
)

XoopsEditorHandler::setConfig()

Parameters
mixed$editor
mixed$options
Returns

Definition at line 219 of file xoopseditor.php.

References $editor, and $options.

XoopsEditorHandler::XoopsEditorHandler ( )

Definition at line 102 of file xoopseditor.php.

References __construct().

Here is the call graph for this function:

Member Data Documentation

XoopsEditorHandler::$allowed_editors = array()

Definition at line 92 of file xoopseditor.php.

XoopsEditorHandler::$nohtml = false

Definition at line 91 of file xoopseditor.php.

XoopsEditorHandler::$root_path = ""

Definition at line 90 of file xoopseditor.php.


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