-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_jquery ui_uicontrol.class
Base class for all jQueryUI controls This ensures that all resources are loaded. Also provides some basic methods for Icon handling.
Extends: Control » Renderable
Subclasses: uiAccordion, uiAutocomplete, uiButton, uiButtonSet, uiContainer, uiCurrencyInput, uiDatePicker, uiDialog, uiMessage, uiNavigation, uiPercentageInput, uiSelectMenu, uiSlider, uiStarSelect, uiTabs, uiTimeInput, uiTreeView
Add draggable init code to the uiControl.
Definition: public function Draggable($options)
Returns: static
Parameters:
-
array $options
See http://api.jqueryui.com/draggable/
Add droppable init code to the uiControl.
Definition: public function Droppable($options)
Returns: static
Parameters:
-
array $options
See http://api.jqueryui.com/droppable/
Ensures that an icon is valid Checks agains the valid jQuery UI icons and return is, if present. Else throws an Exception. Have a look at the theme roller for valid icons: http://jqueryui.com/themeroller/
Definition: public static function Icon($icon_to_test)
Returns: string
The icon string as given in like 'circle-plus'
Parameters:
-
string $icon_to_test
Name of the icon like 'circle-plus'
Sets or gets an option
if you specify a $value will set it and retunr $this
. else will return the option value
Definition: public function opt($name, $value=null)
Returns: mixed
If setting an option returns $this
, else returns the option value
Parameters:
-
string $name
option name -
mixed $value
option value or null
OVERRIDE Control::PreRender
Add resizable init code to the uiControl.
Definition: public function Resizable($options)
Returns: static
Parameters:
-
array $options
See http://api.jqueryui.com/resizable/