Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
EditMemberParams Class Reference

For using in a CRUDController ModelViewer with getEditMemberParams method. More...

Public Member Functions

 __construct ($parentId="", $selector="[data-field]", $event="dblclick", $hasButtons=true, $hasPopup=false, $updateCallback="", $identifierSelector="$(this).closest('tr').attr('data-ajax')")
 
 getSelector ()
 
 getEvent ()
 
 getHasButtons ()
 
 getHasPopup ()
 
 getUpdateCallback ()
 
 setSelector ($selector)
 
 setEvent ($event)
 
 setHasButtons ($hasButtons)
 
 setHasPopup ($hasPopup)
 
 setUpdateCallback ($updateCallback)
 
 getIdentifierSelector ()
 
 setIdentifierSelector ($identifierSelector)
 
 compile ($baseRoute, JsUtils $jquery, $part=null)
 

Static Public Member Functions

static dataElement ()
 
static dataTable ($parentId='#lv')
 

Private Member Functions

 getJsCallbackForEditMember ()
 

Private Attributes

 $parentId
 
 $selector
 
 $event
 
 $hasButtons
 
 $hasPopup
 
 $updateCallback
 
 $identifierSelector
 

Detailed Description

For using in a CRUDController ModelViewer with getEditMemberParams method.

Author
jc

Definition at line 12 of file EditMemberParams.php.

Constructor & Destructor Documentation

◆ __construct()

__construct (   $parentId = "",
  $selector = "[data-field]",
  $event = "dblclick",
  $hasButtons = true,
  $hasPopup = false,
  $updateCallback = "",
  $identifierSelector = "$(this).closest('tr').attr('data-ajax')" 
)

Definition at line 21 of file EditMemberParams.php.

Member Function Documentation

◆ compile()

compile (   $baseRoute,
JsUtils  $jquery,
  $part = null 
)

Definition at line 130 of file EditMemberParams.php.

◆ dataElement()

static dataElement ( )
static

Definition at line 122 of file EditMemberParams.php.

◆ dataTable()

static dataTable (   $parentId = '#lv')
static

Definition at line 126 of file EditMemberParams.php.

◆ getEvent()

getEvent ( )
Returns
string

Definition at line 49 of file EditMemberParams.php.

◆ getHasButtons()

getHasButtons ( )
Returns
boolean

Definition at line 56 of file EditMemberParams.php.

◆ getHasPopup()

getHasPopup ( )
Returns
boolean

Definition at line 63 of file EditMemberParams.php.

◆ getIdentifierSelector()

getIdentifierSelector ( )
Returns
mixed

Definition at line 111 of file EditMemberParams.php.

◆ getJsCallbackForEditMember()

getJsCallbackForEditMember ( )
private

Definition at line 31 of file EditMemberParams.php.

◆ getSelector()

getSelector ( )
Returns
string

Definition at line 42 of file EditMemberParams.php.

◆ getUpdateCallback()

getUpdateCallback ( )
Returns
string

Definition at line 70 of file EditMemberParams.php.

◆ setEvent()

setEvent (   $event)
Parameters
string$event

Definition at line 84 of file EditMemberParams.php.

◆ setHasButtons()

setHasButtons (   $hasButtons)
Parameters
boolean$hasButtons

Definition at line 91 of file EditMemberParams.php.

◆ setHasPopup()

setHasPopup (   $hasPopup)
Parameters
boolean$hasPopup

Definition at line 98 of file EditMemberParams.php.

◆ setIdentifierSelector()

setIdentifierSelector (   $identifierSelector)
Parameters
mixed$identifierSelector

Definition at line 118 of file EditMemberParams.php.

◆ setSelector()

setSelector (   $selector)
Parameters
string$selector

Definition at line 77 of file EditMemberParams.php.

◆ setUpdateCallback()

setUpdateCallback (   $updateCallback)
Parameters
string$updateCallback

Definition at line 105 of file EditMemberParams.php.

Field Documentation

◆ $event

$event
private

Definition at line 15 of file EditMemberParams.php.

◆ $hasButtons

$hasButtons
private

Definition at line 16 of file EditMemberParams.php.

◆ $hasPopup

$hasPopup
private

Definition at line 17 of file EditMemberParams.php.

◆ $identifierSelector

$identifierSelector
private

Definition at line 19 of file EditMemberParams.php.

◆ $parentId

$parentId
private

Definition at line 13 of file EditMemberParams.php.

◆ $selector

$selector
private

Definition at line 14 of file EditMemberParams.php.

◆ $updateCallback

$updateCallback
private

Definition at line 18 of file EditMemberParams.php.


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