[ Index ]

PHP Cross Reference of Joomla 1.5.26 DE

title

Body

[close]

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

(no description)

Copyright: Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
License: GNU/GPL, see LICENSE.php
Version: $Id: xstandard.php 14401 2010-01-26 14:10:00Z louis $
File Size: 286 lines (9 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

plgEditorXstandard:: (9 methods):
  plgEditorXstandard()
  onInit()
  onGetContent()
  onSetContent()
  onSave()
  onDisplay()
  onGetInsertMethod()
  _getTemplateCss()
  _displayButtons()


Class: plgEditorXstandard  - X-Ref

XStandard Lite for Joomla! WYSIWYG Editor Plugin

plgEditorXstandard(& $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 onInitEditor event.
- Initializes the XStandard Lite WYSIWYG Editor

return: string JavaScript Initialization string

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

param: string     The name of the editor

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

param: string     The name of the editor

onSave( $editor )   X-Ref
XStandard Lite 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
XStandard Lite WYSIWYG Editor - display the editor

param: string The name of the editor area
param: string The content of the field
param: string The name of the form 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

_getTemplateCss()   X-Ref
No description

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



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