HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
TbHtml5Editor Class Reference

Public Member Functions

 run ()
 registerClientScript ($id)

Public Attributes

 $lang = 'en'
 $htmlOptions = array()
 $editorOptions = array()
 $width = '100%'
 $height = '400px'

Private Member Functions

 insertDefaultStylesheetIfColorsEnabled ()
 normalizeStylesheetsProperty ()

Detailed Description

Definition at line 18 of file TbHtml5Editor.php.

Member Function Documentation

TbHtml5Editor::insertDefaultStylesheetIfColorsEnabled ( )
private

Definition at line 116 of file TbHtml5Editor.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbHtml5Editor::normalizeStylesheetsProperty ( )
private

Definition at line 126 of file TbHtml5Editor.php.

Here is the caller graph for this function:

TbHtml5Editor::registerClientScript (   $id)

Register required script files

Parameters
string$id

The default stylesheet option is incompatible with yii paths so it is reset here. The insertDefaultStylesheetIfColorsEnabled includes the correct stylesheet if needed.

Any other changes to defaults should be made here.

Check if we need a deep copy for the configuration.

Definition at line 73 of file TbHtml5Editor.php.

Here is the call graph for this function:

Here is the caller graph for this function:

TbHtml5Editor::run ( )

Display editor

Definition at line 49 of file TbHtml5Editor.php.

Here is the call graph for this function:

Member Data Documentation

TbHtml5Editor::$editorOptions = array()

Editor options that will be passed to the editor

Definition at line 34 of file TbHtml5Editor.php.

TbHtml5Editor::$height = '400px'

Editor height

Definition at line 44 of file TbHtml5Editor.php.

TbHtml5Editor::$htmlOptions = array()

Html options that will be assigned to the text area

Definition at line 29 of file TbHtml5Editor.php.

TbHtml5Editor::$lang = 'en'

Editor language Supports: de-DE, es-ES, fr-FR, pt-BR, sv-SE, it-IT

Definition at line 24 of file TbHtml5Editor.php.

TbHtml5Editor::$width = '100%'

Editor width

Definition at line 39 of file TbHtml5Editor.php.


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