massiveActionsWidget
extends CWidget
in package
This widget render a drop-up button for grid massive actions, and attach modals to the actions.
Table of Contents
Constants
- NAME_OF_MODEL_VIEWS = ['yes-no', 'empty', 'yes-no-lg', 'empty-lg', 'cancel-apply', 'cancel-change', 'cancel-resend', 'cancel-add', 'cancel-save', 'cancel-delete', 'cancel-export']
Properties
- $aActions : mixed
- $dropupId : mixed
- $dropUpText : mixed
- $gridid : mixed
- $pk : mixed
Methods
Constants
NAME_OF_MODEL_VIEWS
private
array<string|int, string>
NAME_OF_MODEL_VIEWS
= ['yes-no', 'empty', 'yes-no-lg', 'empty-lg', 'cancel-apply', 'cancel-change', 'cancel-resend', 'cancel-add', 'cancel-save', 'cancel-delete', 'cancel-export']
these are the names of the views in MassiveActionsWidget/../modals/
Properties
$aActions
public
mixed
$aActions
$dropupId
public
mixed
$dropupId
= 'dropupId'
$dropUpText
public
mixed
$dropUpText
= ''
$gridid
public
mixed
$gridid
$pk
public
mixed
$pk
Methods
run()
public
run() : mixed
isView()
Check if the view is in the list
private
isView( $display) : bool
Parameters
- $display :
-
string this is the name of one of the files in extensions/admin/MassiveActionsWidget/views/modals