Class JEditor

Description

JEditor class to handle WYSIWYG editors

Located in /utilities/presentation/editor.php (line 22)

JObject
   |
   --JObservable
      |
      --JEditor
Variable Summary
 mixed $_editor
Method Summary
 JEditor __construct ()
 void getEditor (mixed $name, mixed $content, mixed $hiddenField, mixed $width, mixed $height, mixed $col, mixed $row)
 void getEditorContents (mixed $editorArea, mixed $hiddenField)
 JEditor &getInstance (string $editor)
 void init ()
 void _loadEditor ()
Variables
mixed $_editor = null (line 27)

Editor Plugin object

Inherited Variables

Inherited from JObservable

JObservable::$_observers
JObservable::$_state
Methods
Constructor __construct (line 29)
JEditor __construct ()

Redefinition of:
JObservable::__construct()
Constructor
getEditor (line 113)

Present a text area

void getEditor (mixed $name, mixed $content, mixed $hiddenField, mixed $width, mixed $height, mixed $col, mixed $row)
getEditorContents (line 88)

Get the editor contents

void getEditorContents (mixed $editorArea, mixed $hiddenField)
getInstance (line 44)

Returns a reference to a global Editor object, only creating it if it doesn't already exist.

This method must be invoked as:

  $editor = &JEditor::getInstance([$editor);

  • return: The Editor object.
  • access: public
JEditor &getInstance (string $editor)
  • string $editor: The editor to use.
init (line 63)

Initialize the editor

void init ()
_loadEditor (line 147)

Load the editor

  • since: 1.1
  • access: private
void _loadEditor ()

Inherited Methods

Inherited From JObservable

 JObservable::__construct()
 JObservable::attach()
 JObservable::detach()
 JObservable::getState()
 JObservable::notify()

Inherited From JObject

 JObject::__construct()
 JObject::JObject()
 JObject::get()
 JObject::set()
 JObject::toString()
 JObject::__destruct()

Documentation generated on Sat, 4 Feb 2006 14:23:18 +0100 by phpDocumentor 1.3.0RC4