Code Index

Namespaces

Classes


Class CKFinder.dialog.definitionObject


Extends CKFinder.dialog.definition.

Class Summary
Constructor Attributes Constructor Name and Description
 
This class is not really part of the API.
Fields borrowed from class CKFinder.dialog.definition:
buttons, contents, minHeight, minWidth, onCancel, onLoad, onOk, onShow, title
Method Summary
Method Attributes Method Name and Description
 
addButton(buttonDefinition, nextSiblingId)
Adds a button definition object under this dialog definition.
 
addContents(contentDefinition, nextSiblingId)
Adds a content definition object under this dialog definition.
 
Gets a button definition.
 
Gets a content definition.
 
Removes a button definition from the dialog definition.
 
Removes a content definition from this dialog definition.
Class Detail
CKFinder.dialog.definitionObject()
Since: 2.0
This class is not really part of the API. It is the "definition" property value passed to "dialogDefinition" event handlers.
CKFinder.on( 'dialogDefinition', function( evt )
	{
		var definition = evt.data.definition;
		var content = definition.getContents( 'page1' );
		...
	} );
Method Detail
{CKFinder.dialog.buttonDefinition} addButton(buttonDefinition, nextSiblingId)
Since: 2.0
Adds a button definition object under this dialog definition.
NO EXAMPLE AVAILABLE
Parameters:
{CKFinder.dialog.buttonDefinition} buttonDefinition
The button definition.
{String} nextSiblingId Optional
The id of an existing button definition which the new button definition will be inserted before. Omit if the new button definition is to be inserted as the last item.
Returns:
{CKFinder.dialog.buttonDefinition} The inserted button definition.

{CKFinder.dialog.contentDefinition} addContents(contentDefinition, nextSiblingId)
Since: 2.0
Adds a content definition object under this dialog definition.
NO EXAMPLE AVAILABLE
Parameters:
{CKFinder.dialog.contentDefinition} contentDefinition
The content definition.
{String} nextSiblingId Optional
The id of an existing content definition which the new content definition will be inserted before. Omit if the new content definition is to be inserted as the last item.
Returns:
{CKFinder.dialog.contentDefinition} The inserted content definition.

{CKFinder.dialog.buttonDefinition} getButton(id)
Since: 2.0
Gets a button definition.
NO EXAMPLE AVAILABLE
Parameters:
{String} id
The id of the button definition.
Returns:
{CKFinder.dialog.buttonDefinition} The button definition matching id.

{CKFinder.dialog.contentDefinition} getContents(id)
Since: 2.0
Gets a content definition.
NO EXAMPLE AVAILABLE
Parameters:
{String} id
The id of the content definition.
Returns:
{CKFinder.dialog.contentDefinition} The content definition matching id.

{CKFinder.dialog.buttonDefinition} removeButton(id)
Since: 2.0
Removes a button definition from the dialog definition.
NO EXAMPLE AVAILABLE
Parameters:
{String} id
The id of the button definition to be removed.
Returns:
{CKFinder.dialog.buttonDefinition} The removed button definition.

{CKFinder.dialog.contentDefinition} removeContents(id)
Since: 2.0
Removes a content definition from this dialog definition.
NO EXAMPLE AVAILABLE
Parameters:
{String} id
The id of the content definition to be removed.
Returns:
{CKFinder.dialog.contentDefinition} The removed content definition.

Copyright © 2007-2015, CKSource - Frederico Knabben. All rights reserved.