Skip to content

classes_lib_jquery ui_uicontrol.class

Daniel Spors edited this page Dec 19, 2023 · 3 revisions

Classes in file lib/jquery-ui/uicontrol.class.php

class uiControl

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

Draggable

Add draggable init code to the uiControl.

Definition: public function Draggable($options)

Returns: static

Parameters:

Droppable

Add droppable init code to the uiControl.

Definition: public function Droppable($options)

Returns: static

Parameters:

Icon

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'

opt

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

PreRender

OVERRIDE Control::PreRender

Resizable

Add resizable init code to the uiControl.

Definition: public function Resizable($options)

Returns: static

Parameters:

Clone this wiki locally