phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
DialogButton Class Reference

JQuery UI Button for the Dialog Component. More...

+ Inheritance diagram for DialogButton:

Public Member Functions

 __construct ($caption, $jsCode, $event="click")
 
 __toString ()
 
 getScript ()
 
- Public Member Functions inherited from BaseComponent
 __construct (JsUtils $js=NULL)
 
 setParam ($key, $value)
 
 getParam ($key)
 
 getParams ()
 
 compile (JsUtils $js=NULL)
 
 setParams ($params)
 
 addParams ($params)
 
 setDebug ($value)
 
 setVerbose ($value)
 

Static Public Member Functions

static cancelButton ($caption="Annuler")
 
static submitButton (JsUtils $js, $url, $form, $responseElement, $caption="Okay", $parameters=[])
 

Private Member Functions

 addFunction ($jsCode)
 

Additional Inherited Members

- Data Fields inherited from BaseComponent
 $jquery_code_for_compile =array ()
 
- Protected Member Functions inherited from BaseComponent
 getParamsAsJSON ($params)
 
 setParamCtrl ($key, $value, $typeCtrl)
 
- Protected Attributes inherited from BaseComponent
 $params =array ()
 
 $js
 

Detailed Description

JQuery UI Button for the Dialog Component.

Author
jc
Version
1.001

Definition at line 14 of file DialogButton.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $caption,
  $jsCode,
  $event = "click" 
)

Definition at line 22 of file DialogButton.php.

Member Function Documentation

◆ __toString()

__toString ( )

Definition at line 28 of file DialogButton.php.

◆ addFunction()

addFunction (   $jsCode)
private

Definition at line 16 of file DialogButton.php.

◆ cancelButton()

static cancelButton (   $caption = "Annuler")
static

Definition at line 40 of file DialogButton.php.

◆ getScript()

getScript ( )

Reimplemented from BaseComponent.

Definition at line 36 of file DialogButton.php.

◆ submitButton()

static submitButton ( JsUtils  $js,
  $url,
  $form,
  $responseElement,
  $caption = "Okay",
  $parameters = [] 
)
static
Parameters
JsUtils$js
string$url
string$form
string$responseElement
string$caption
array$parametersdefault : array("params"=>"{}","jsCallback"=>NULL,"attr"=>"id","hasLoader"=>true,"jqueryDone"=>"html","ajaxTransition"=>null,"jsCondition"=>NULL,"headers"=>null)
Returns
DialogButton

Definition at line 55 of file DialogButton.php.


The documentation for this class was generated from the following file: