XOOPS
2.6.0
|
Public Member Functions | |
buildEditorList () | |
get ($name= '', $options=null, $noHtml=false, $OnFailure= '') | |
getList ($noHtml=false) | |
setConfig (XoopsEditor $editor, $options) | |
Static Public Member Functions | |
static | getInstance () |
Public Attributes | |
$allowed_editors = array() | |
$nohtml = false | |
$root_path = "" | |
Private Member Functions | |
__construct () | |
_loadEditor ($name, $options=null) | |
Definition at line 135 of file xoopseditor.php.
|
private |
Constructor
Definition at line 155 of file xoopseditor.php.
References XoopsBaseConfig\get().
|
private |
XoopsEditorHandler::_loadEditor()
string | $name | |
mixed | $options |
Definition at line 272 of file xoopseditor.php.
References $config, $editor, $file, $name, $options, $xoops, XoopsLoad\fileExists(), Xoops\getInstance(), Xoops_Locale_Abstract\getLegacyLanguage(), and getList().
Referenced by get().
XoopsEditorHandler::buildEditorList | ( | ) |
bool | $noHtml |
Definition at line 203 of file xoopseditor.php.
References $config, $file, XoopsLoad\fileExists(), and Xoops_Locale_Abstract\getLegacyLanguage().
XoopsEditorHandler::get | ( | $name = '' , |
|
$options = null , |
|||
$noHtml = false , |
|||
$OnFailure = '' |
|||
) |
string | $name | Editor name which is actually the folder name |
array | $options | editor options: $key => $val |
bool | $noHtml | |
string | $OnFailure | a pre-validated editor that will be used if the required editor is failed to create |
bool | $noHtml | dohtml disabled |
Definition at line 185 of file xoopseditor.php.
References $editor, $name, $options, _loadEditor(), and getList().
|
static |
Access the only instance of this class
Definition at line 167 of file xoopseditor.php.
Referenced by Xoops\Form\Editor\__construct(), Xoops\Form\DhtmlTextArea\__construct(), and Xoops\Form\SelectEditor\render().
XoopsEditorHandler::getList | ( | $noHtml = false | ) |
bool | $noHtml |
Definition at line 234 of file xoopseditor.php.
References $editors, $name, $xoops, XoopsEditor\CACHE_KEY_EDITOR_LIST, and Xoops\getInstance().
Referenced by _loadEditor(), and get().
XoopsEditorHandler::setConfig | ( | XoopsEditor | $editor, |
$options | |||
) |
XoopsEditor | $editor | |
array | $options |
Definition at line 260 of file xoopseditor.php.
References $options, and XoopsEditor\setConfig().
XoopsEditorHandler::$allowed_editors = array() |
Definition at line 150 of file xoopseditor.php.
XoopsEditorHandler::$nohtml = false |
Definition at line 145 of file xoopseditor.php.
XoopsEditorHandler::$root_path = "" |
Definition at line 140 of file xoopseditor.php.