UNA
Loading...
Searching...
No Matches
BxEditorEditor Class Reference
Inheritance diagram for BxEditorEditor:
BxDolEditor BxDolFactory iBxDolFactoryObject

Public Member Functions

 __construct ($aObject, $oTemplate)
 
 attachEditor ($sSelector, $iViewMode=BX_EDITOR_STANDARD, $bDynamicMode=false, $aAttrs=[])
 
- Public Member Functions inherited from BxDolEditor
 getObjectName ()
 
 setCustomConf ($s)
 
 setCustomPlugins ($sPlugins)
 
 setCustomToolbarButtons ($sButtons)
 
 getWidth ($iViewMode)
 
 getSkins ($bFullInfo=false)
 
 setSkin ($sSkin)
 
 attachEditor ($sSelector, $iViewMode, $bDynamicMode=false)
 

Protected Member Functions

 _addJsCss ($bDynamicMode=false, $sInitEditor='')
 
 _getJsCss ($bUseUrlsForJs=false)
 
- Protected Member Functions inherited from BxDolEditor
 __construct ($aObject)
 
 _addJsCss ($bDynamicMode=false)
 
 _replaceMarkers ($s, $a)
 

Protected Attributes

 $_sModule
 
 $_oModule
 
 $_aButtons
 
 $_oTemplate
 
 $_bJsCssAdded = false
 
- Protected Attributes inherited from BxDolEditor
 $_sObject
 
 $_aObject
 
 $_sConfCustom = ''
 
 $_sButtonsCustom = false
 
 $_sPluginsCustom = false
 
 $_sSkin
 
 $_aSkins
 

Static Protected Attributes

static $CONF_COMMON
 

Additional Inherited Members

- Static Public Member Functions inherited from BxDolEditor
static getObjectInstance ($sObject=false, $oTemplate=false)
 
- Static Public Member Functions inherited from iBxDolFactoryObject
static getObjectInstance ($sObject)
 

Detailed Description

Editor representation.

See also
BxDolEditor

Member Function Documentation

◆ _addJsCss()

BxEditorEditor::_addJsCss ( $bDynamicMode = false,
$sInitEditor = '' )
protected

Add css/js files which are needed for editor display and functionality.

◆ attachEditor()

BxEditorEditor::attachEditor ( $sSelector,
$iViewMode = BX_EDITOR_STANDARD,
$bDynamicMode = false,
$aAttrs = [] )

Attach editor to HTML element, in most cases - textarea.

Parameters
$sSelector- jQuery selector to attach editor to.
$iViewMode- editor view mode: BX_EDITOR_STANDARD, BX_EDITOR_MINI, BX_EDITOR_FULL
$bDynamicMode- is AJAX mode or not, the HTML with editor area is loaded dynamically.

Member Data Documentation

◆ $CONF_COMMON

BxEditorEditor::$CONF_COMMON
staticprotected
Initial value:
= "
var oParams = {
root_url: '{bx_url_root}',
name: '{bx_var_editor_name}',
selector: '{bx_var_selector}',
toolbar: {toolbar},
toolbar_inline: {toolbar_inline},
}
{bx_var_editor_name} = bx_ex_editor_init({bx_var_editor_name}, oParams);"

Common initialization params


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