-
Notifications
You must be signed in to change notification settings - Fork 34
classes_lib_jquery ui_uibutton.class
Wrapper around jQueryUI Butto See http://jqueryui.com/button/
Extends: uiControl » Control » Renderable
Creates javascript code to redirect elsewhere on button click.
Definition: public function LinkTo($controller, $method, $data)
Returns: static
Parameters:
-
mixed $controllerThe controller to be loaded (can be Renderable or string) -
string $methodThe method to be executed -
array|string $dataOptional data to be passed
DEPRECATED (2022/07) Use uiButton::Textual instead Overrides Control::Make with own logic.
OVERRIDE uiControl::PreRender
Sets the uiButtons icon.
Definition: public function setIcon($icon)
Returns: static
Parameters:
-
string $iconValid uiControl::Icon
Button creation shortcut
Definition: public static function Textual($label, $onclick=false)
Returns: uiButton The new button
Parameters:
-
string $labelLabel -
string $onclickOnClick JS code
Definition: public function __construct($text, $icon=false)
Returns: NOT DOCUMENTED
Parameters:
-
string $textLabel -
string $iconValid uiControl::Icon