Code Index

Namespaces

Classes


Class CKFinder.ui.dialog.fileButton


Extends CKFinder.ui.dialog.button.

Class Summary
Constructor Attributes Constructor Name and Description
 
CKFinder.ui.dialog.fileButton(dialog, elementDefinition, htmlList)
A button for submitting the file in a file upload input.
Methods borrowed from class CKFinder.ui.dialog.button:
accessKeyDown, accessKeyUp, click, disable, enable, isEnabled, isVisible
Methods borrowed from class CKFinder.ui.dialog.uiElement:
focus, getDialog, getElement, getInputElement, getValue, isChanged, selectParentTab, setValue
Class Detail
CKFinder.ui.dialog.fileButton(dialog, elementDefinition, htmlList)
Since: 2.0
A button for submitting the file in a file upload input.
Note: the whole CKFinder.ui.dialog namespace is not directly accessible (CKFinder.ui.dialog is undefined).
Instances of this class are created by CKFinder when dialog is created.
To add a button to a dialog, check CKFinder.dialog.definition.fileButton.
Parameters:
{CKFinder.dialog} dialog
Parent dialog object.
{CKFinder.dialog.uiElementDefinition} elementDefinition
The element definition. Accepted fields:
  • for (Required) The file input's page and element Id to associate to, in a 2-item array format: [ 'page_id', 'element_id' ].
  • validate (Optional) The validation function.
{Array} htmlList
List of HTML code to output to.

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