[ Index ]

PHP Cross Reference of Drupal 6 (gatewave)

title

Body

[close]

/sites/all/libraries/ckeditor/_source/plugins/div/dialogs/ -> div.js (summary)

(no description)

File Size: 527 lines (15 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  addSafely()
  getNonEmptyChildren()
  divDialog()
  getDivLimitElement()
  setupFields()
  createDiv()
  getDiv()
  groupByDivLimit()
  commitInternally()

Functions
Functions that are not part of a class:

addSafely( collection, element, database )   X-Ref
Add to collection with DUP examination.

param: {Object} collection
param: {Object} element
param: {Object} database

getNonEmptyChildren( element )   X-Ref
No description

divDialog( editor, command )   X-Ref
Dialog reused by both 'creatediv' and 'editdiv' commands.

param: {Object} editor
param: {String} command    The command name which indicate what the current command is.

getDivLimitElement( element )   X-Ref
Get the first div limit element on the element's path.

param: {Object} element

setupFields()   X-Ref
Init all fields' setup/commit function.


createDiv( editor )   X-Ref
Wrapping 'div' element around appropriate blocks among the selected ranges.

param: {Object} editor

getDiv( editor )   X-Ref
No description

groupByDivLimit( nodes )   X-Ref
Divide a set of nodes to different groups by their path's blocklimit element.
Note: the specified nodes should be in source order naturally, which mean they are supposed to producea by following class:
* CKEDITOR.dom.range.Iterator
* CKEDITOR.dom.domWalker

return: {Array []} the grouped nodes

commitInternally( targetFields )   X-Ref
No description



Generated: Thu Mar 24 11:18:33 2011 Cross-referenced by PHPXref 0.7