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

JQuery UI Dialog Component. More...

+ Inheritance diagram for Dialog:

Public Member Functions

 __construct (JsUtils $js)
 
 getScript ()
 
 attach ($identifier)
 
 addCancelBtn ($caption="Annuler", $position=NULL)
 
 addSubmitBtn (JsUtils $js, $url, $form, $responseElement, $caption="Valider", $position=NULL)
 
 addButton ($caption, $jsCode, $position=NULL)
 
- Public Member Functions inherited from SimpleComponent
 addEvent ($event, $jsCode)
 
 on ($event, $jsCode)
 
 getAttachTo ()
 
 getItemSelector ()
 
 setItemSelector ($itemSelector)
 
- Public Member Functions inherited from BaseComponent
 setParam ($key, $value)
 
 getParam ($key)
 
 getParams ()
 
 compile (JsUtils $js=NULL)
 
 setParams ($params)
 
 addParams ($params)
 
 setDebug ($value)
 
 setVerbose ($value)
 

Protected Attributes

 $attachTo
 
 $buttons = array()
 
- Protected Attributes inherited from SimpleComponent
 $attachTo
 
 $itemSelector
 
 $uiName
 
 $events
 
- Protected Attributes inherited from BaseComponent
 $params =array ()
 
 $js
 

Private Member Functions

 insertBtn ($insert, $position=NULL)
 

Additional Inherited Members

- Data Fields inherited from BaseComponent
 $jquery_code_for_compile =array ()
 
- Protected Member Functions inherited from SimpleComponent
 compileEvents ()
 
 _createSelector ($itemSelector, $selector)
 
 compileJQueryCode ()
 
 setParamCtrl ($key, $value, $typeCtrl)
 
- Protected Member Functions inherited from BaseComponent
 getParamsAsJSON ($params)
 

Detailed Description

JQuery UI Dialog Component.

Author
jc
Version
1.001

Definition at line 13 of file Dialog.php.

Constructor & Destructor Documentation

◆ __construct()

__construct ( JsUtils  $js)

Reimplemented from SimpleComponent.

Definition at line 19 of file Dialog.php.

Member Function Documentation

◆ addButton()

addButton (   $caption,
  $jsCode,
  $position = NULL 
)

Definition at line 60 of file Dialog.php.

◆ addCancelBtn()

addCancelBtn (   $caption = "Annuler",
  $position = NULL 
)

Definition at line 52 of file Dialog.php.

◆ addSubmitBtn()

addSubmitBtn ( JsUtils  $js,
  $url,
  $form,
  $responseElement,
  $caption = "Valider",
  $position = NULL 
)

Definition at line 56 of file Dialog.php.

◆ attach()

attach (   $identifier)
Parameters
String$identifieridentifiant CSS

Reimplemented from SimpleComponent.

Definition at line 48 of file Dialog.php.

◆ getScript()

getScript ( )

Reimplemented from SimpleComponent.

Definition at line 27 of file Dialog.php.

◆ insertBtn()

insertBtn (   $insert,
  $position = NULL 
)
private

Definition at line 64 of file Dialog.php.

Field Documentation

◆ $attachTo

$attachTo
protected

Definition at line 15 of file Dialog.php.

◆ $buttons

$buttons = array()
protected

Definition at line 17 of file Dialog.php.


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