DolEditor
class DolEditor (View source)
Class to manage a WYSIWYG editor.
Usage: $doleditor = new DolEditor('body', $message, 320, 'toolbar_mailing'); $doleditor->Create();
Properties
| string | $tool | ||
| object | $editor | ||
| ?string | $content | ||
| string | $htmlname | ||
| string | $toolbarname | ||
| bool | $toolbarstartexpanded | ||
| int | $rows | ||
| string | $cols | ||
| int | $height | ||
| string | $width | ||
| int<0, 1>|bool | $uselocalbrowser | ||
| int<0, 1> | $readonly | ||
| int | $posx | ||
| int | $posy |
Methods
__construct($htmlname, string $content, $width = '', $height = 200, $toolbarname = 'Basic', $notused = '', $toolbarstartexpanded = false, $uselocalbrowser = -1, $okforextendededitor = true, $rows = 0, $cols = '', $readonly = 0, $poscursor = array())
Create an object to build an HTML area to edit a large string content
Create(int $noprint = 0, $morejs = '', $restrictContent = true, $titlecontent = '', $option = '', $moreparam = '', $morecss = '')
Output edit area inside the HTML stream.
Details
__construct($htmlname, string $content, $width = '', $height = 200, $toolbarname = 'Basic', $notused = '', $toolbarstartexpanded = false, $uselocalbrowser = -1, $okforextendededitor = true, $rows = 0, $cols = '', $readonly = 0, $poscursor = array())
Create an object to build an HTML area to edit a large string content
@param string $htmlname HTML name of WYSIWYG field
Create(int $noprint = 0, $morejs = '', $restrictContent = true, $titlecontent = '', $option = '', $moreparam = '', $morecss = '')
Output edit area inside the HTML stream.
Output depends on this->tool (fckeditor, ckeditor, textarea, ...)