[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

/plugins/editors/ -> tinymce.php (summary)

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: tinymce.php 15099 2010-02-27 14:23:40Z ian $
File Size: 717 lines (21 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

plgEditorTinymce:: (12 methods):
  plgEditorTinymce()
  onInit()
  onGetContent()
  onSetContent()
  onSave()
  onDisplay()
  onGetInsertMethod()
  isBrowserIE()
  jInsertEditorText()
  IeCursorFix()
  _displayButtons()
  _toogleButton()


Class: plgEditorTinymce  - X-Ref

TinyMCE WYSIWYG Editor Plugin

plgEditorTinymce(& $subject, $config)   X-Ref
Constructor

For php4 compatability we must not use the __constructor as a constructor for plugins
because func_get_args ( void ) returns a copy of all passed arguments NOT references.
This causes problems with cross-referencing necessary for the observer design pattern.

param: object $subject The object to observe
param: array  $config  An array that holds the plugin configuration

onInit()   X-Ref
Method to handle the onInit event.
- Initializes the TinyMCE WYSIWYG Editor

return: string JavaScript Initialization string

onGetContent( $editor )   X-Ref
TinyMCE WYSIWYG Editor - get the editor content

param: string     The name of the editor

onSetContent($editor, $html)   X-Ref
TinyMCE WYSIWYG Editor - set the editor content

param: string     The name of the editor

onSave($editor)   X-Ref
TinyMCE WYSIWYG Editor - copy editor content to form field

param: string     The name of the editor

onDisplay($name, $content, $width, $height, $col, $row, $buttons = true)   X-Ref
TinyMCE WYSIWYG Editor - display the editor

param: string The name of the editor area
param: string The content of the field
param: string The width of the editor area
param: string The height of the editor area
param: int The number of columns for the editor area
param: int The number of rows for the editor area
param: mixed Can be boolean or array.

onGetInsertMethod($name)   X-Ref
No description

isBrowserIE()   X-Ref
No description

jInsertEditorText( text, editor )   X-Ref
No description

IeCursorFix()   X-Ref
No description

_displayButtons($name, $buttons)   X-Ref
No description

_toogleButton($name)   X-Ref
No description



Generated: Wed Mar 28 15:54:07 2012 Cross-referenced by PHPXref 0.7.1