Cheetah
|
Public Member Functions | |
__construct ($aObject, $oTemplate) | |
getWidth ($iViewMode) | |
setCustomConf ($s) | |
attachEditor ($sSelector, $iViewMode=CH_EDITOR_STANDARD, $bDynamicMode=false) | |
![]() | |
__construct ($aObject) | |
getObjectName () | |
Protected Member Functions | |
_addJsCss ($bDynamicMode=false, $sInitEditor='') | |
![]() | |
_addJsCss ($bDynamicMode=false) | |
_replaceMarkers ($s, $a) | |
Protected Attributes | |
$_sConfCustom = '' | |
$_oTemplate | |
$_bJsCssAdded = false | |
![]() | |
$_sObject | |
$_aObject | |
Static Protected Attributes | |
static | $CONF_COMMON |
static | $WIDTH_STANDARD = '100%' |
static | $MODULES_STANDARD |
static | $CONF_STANDARD |
static | $WIDTH_MINI = '100%' |
static | $MODULES_MINI |
static | $CONF_MINI |
static | $WIDTH_FULL = '100%' |
static | $MODULES_FULL |
static | $CONF_FULL |
static | $CONF_LANGS = array('ar' => 1, 'ar_SA' => 1, 'az' => 1, 'be' => 1, 'bg_BG' => 1, 'bn_BD' => 1, 'bs' => 1, 'ca' => 1, 'cs' => 1, 'cs_CZ' => 1, 'cy' => 1, 'da' => 1, 'de' => 1, 'de_AT' => 1, 'dv' => 1, 'el' => 1, 'en_CA' => 1, 'en_GB' => 1, 'eo' => 1, 'es' => 1, 'es_MX' => 1, 'et' => 1, 'eu' => 1, 'fa' => 1, 'fa_IR' => 1, 'fi' => 1, 'fo' => 1, 'fr_CH' => 1, 'fr_FR' => 1, 'ga' => 1, 'gd' => 1, 'gl' => 1, 'he_IL' => 1, 'hi_IN' => 1, 'hr' => 1, 'hu_HU' => 1, 'hy' => 1, 'id' => 1, 'is_IS' => 1, 'it' => 1, 'ja' => 1, 'ka_GE' => 1, 'kab' => 1, 'kk' => 1, 'km_KH' => 1, 'ko' => 1, 'ko_KR' => 1, 'ku' => 1, 'ku_IQ' => 1, 'lb' => 1, 'lt' => 1, 'lv' => 1, 'ml' => 1, 'ml_IN' => 1, 'mn_MN' => 1, 'nb_NO' => 1, 'nl' => 1, 'pl' => 1, 'pt_BR' => 1, 'pt_PT' => 1, 'ro' => 1, 'ru' => 1, 'si_LK' => 1, 'sk' => 1, 'sl_SI' => 1, 'sr' => 1, 'sv_SE' => 1, 'ta' => 1, 'ta_IN' => 1, 'tg' => 1, 'th_TH' => 1, 'tr' => 1, 'tr_TR' => 1, 'tt' => 1, 'ug' => 1, 'uk' => 1, 'uk_UA' => 1, 'vi' => 1, 'vi_VN' => 1, 'zh_CN' => 1, 'zh_TW' => 1) |
Additional Inherited Members | |
![]() | |
static | getObjectInstance ($sObject=false) |
TinyMCE editor representation.
Definition at line 14 of file ChBaseEditorTinyMCE.php.
ChBaseEditorTinyMCE::__construct | ( | $aObject, | |
$oTemplate | |||
) |
Reimplemented in ChTemplEditorTinyMCE, ChTemplEditorTinyMCE, and ChTemplEditorTinyMCE.
Definition at line 138 of file ChBaseEditorTinyMCE.php.
|
protected |
Add css/js files which are needed for editor display and functionality.
Definition at line 260 of file ChBaseEditorTinyMCE.php.
ChBaseEditorTinyMCE::attachEditor | ( | $sSelector, | |
$iViewMode = CH_EDITOR_STANDARD , |
|||
$bDynamicMode = false |
|||
) |
Attach editor to HTML element, in most cases - textarea.
$sSelector | - jQuery selector to attach editor to. |
$iViewMode | - editor view mode: CH_EDITOR_STANDARD, CH_EDITOR_MINI, CH_EDITOR_FULL |
$bDynamicMode | - is AJAX mode or not, the HTML with editor area is loaded dynamically. |
Reimplemented from ChWsbEditor.
Definition at line 179 of file ChBaseEditorTinyMCE.php.
ChBaseEditorTinyMCE::getWidth | ( | $iViewMode | ) |
Get minimal width which is neede for editor for the provided view mode
Reimplemented from ChWsbEditor.
Definition at line 151 of file ChBaseEditorTinyMCE.php.
ChBaseEditorTinyMCE::setCustomConf | ( | $s | ) |
Set custom TinyMCE configuration option
Definition at line 168 of file ChBaseEditorTinyMCE.php.
|
protected |
Definition at line 136 of file ChBaseEditorTinyMCE.php.
|
protected |
Definition at line 135 of file ChBaseEditorTinyMCE.php.
|
protected |
Definition at line 128 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Common initialization params
Definition at line 19 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 112 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Available editor languages
Definition at line 133 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 71 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 49 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 87 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 65 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Definition at line 37 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Full view initialization params
Definition at line 86 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Minimal view initialization params
Definition at line 64 of file ChBaseEditorTinyMCE.php.
|
staticprotected |
Standard view initialization params
Definition at line 36 of file ChBaseEditorTinyMCE.php.