Code Index

Namespaces

Classes


Class CKFinder.dialog.definition.contentObject

Class Summary
Constructor Attributes Constructor Name and Description
 
This class is not really part of the API.
Method Summary
Method Attributes Method Name and Description
 
add(elementDefinition, nextSiblingId)
Adds a UI element definition to the content definition.
 
get(id)
Gets a UI element definition under the content definition.
 
remove(id)
Removes a UI element definition from the content definition.
Class Detail
CKFinder.dialog.definition.contentObject()
Since: 2.0
This class is not really part of the API. It is the template of the objects representing content pages inside the CKFinder.dialog.definitionObject.
CKFinder.on( 'dialogDefinition', function( evt )
	{
		var definition = evt.data.definition;
		var content = definition.getContents( 'page1' );
		content.remove( 'textInput1' );
		...
	} );
Method Detail
{CKFinder.dialog.uiElementDefinition} add(elementDefinition, nextSiblingId)
Since: 2.0
Adds a UI element definition to the content definition.
NO EXAMPLE AVAILABLE
Parameters:
{CKFinder.dialog.uiElementDefinition} elementDefinition
The UI elemnet definition to be added.
{String} nextSiblingId
The id of an existing UI element definition which the new UI element definition will be inserted before. Omit if the new button definition is to be inserted as the last item.
Returns:
{CKFinder.dialog.uiElementDefinition} The element definition inserted.

{CKFinder.dialog.uiElementDefinition} get(id)
Since: 2.0
Gets a UI element definition under the content definition.
NO EXAMPLE AVAILABLE
Parameters:
{String} id
The id of the UI element definition.
Returns:
{CKFinder.dialog.uiElementDefinition}

{CKFinder.dialog.uiElementDefinition} remove(id)
Since: 2.0
Removes a UI element definition from the content definition.
Parameters:
{String} id
The id of the UI element definition to be removed.
Returns:
{CKFinder.dialog.uiElementDefinition} The element definition removed.

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