ILIAS  release_8 Revision v8.24
ilAssFileUploadFileTableDeleteButton Class Reference
+ Inheritance diagram for ilAssFileUploadFileTableDeleteButton:
+ Collaboration diagram for ilAssFileUploadFileTableDeleteButton:

Public Member Functions

 __construct ($type)
 ilAssFileUploadFileTableCommandButton constructor. More...
 
- Public Member Functions inherited from ilAssFileUploadFileTableCommandButton
 __construct ($buttonType)
 ilAssFileUploadFileTableCommandButton constructor. More...
 
 lng (ilLanguage $lng=null)
 
 getAction ()
 
 setAction ($action)
 
 renderAttributes (array $a_additional_attr=null)
 Render current HTML attributes. More...
 
- Public Member Functions inherited from ilSubmitButton
 setCommand (string $a_value)
 Set submit command. More...
 
 getCommand ()
 
 render ()
 
- Public Member Functions inherited from ilButtonBase
 __clone ()
 
 getType ()
 
 setId (?string $a_value)
 
 getId ()
 
 setCaption (string $a_value, bool $a_is_lng_id=true)
 
 getCaption (bool $a_translate=true)
 
 setPrimary (bool $a_value)
 
 isPrimary ()
 
 setOmitPreventDoubleSubmission (bool $a_value)
 Toggle double submission prevention status. More...
 
 getOmitPreventDoubleSubmission ()
 
 setOnClick (string $a_value)
 
 getOnClick ()
 
 setDisabled (bool $a_value)
 
 isDisabled ()
 
 addCSSClass (string $a_value)
 
 getCSSClasses ()
 
 applyDefaultCss (?bool $apply_default_css=null)
 
 render ()
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 

Static Public Member Functions

static getInstance ()
 
static getInstance ()
 
static getInstance ()
 

Data Fields

const ACTION = 'delete'
 
const ILC_SUBMIT_CSS_CLASS = 'ilc_qsubmit_Submit'
 
- Data Fields inherited from ilButtonBase
const TYPE_SUBMIT = 1
 
const TYPE_LINK = 2
 
const TYPE_SPLIT = 3
 
const TYPE_BUTTON = 4
 

Additional Inherited Members

- Protected Member Functions inherited from ilButtonBase
 __construct (int $a_type)
 
 setType (int $a_value)
 
 gatherCssClasses ()
 
 renderAttributesHelper (array $a_attr)
 
 renderAttributes (array $a_additional_attr=null)
 Render current HTML attributes. More...
 
 prepareRender ()
 
- Protected Attributes inherited from ilAssFileUploadFileTableCommandButton
 $action
 
- Protected Attributes inherited from ilSubmitButton
string $cmd = ""
 
- Protected Attributes inherited from ilButtonBase
ilLanguage $lng
 
int $type = 0
 
string $id = ""
 
string $caption = ""
 
bool $caption_is_lng_id = false
 
bool $primary = false
 
bool $omit_prevent_double_submission = false
 
string $onclick = ""
 
int $acc_key = 0
 
bool $disabled = false
 
array $css = array()
 
bool $apply_default_css = true
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssFileUploadFileTableDeleteButton::__construct (   $buttonType)

ilAssFileUploadFileTableCommandButton constructor.

Reimplemented from ilAssFileUploadFileTableCommandButton.

Definition at line 31 of file class.ilAssFileUploadFileTableDeleteButton.php.

32 {
34 $this->setAction(self::ACTION);
35 $this->addCSSClass(self::ILC_SUBMIT_CSS_CLASS);
36 $this->setCaption($this->lng()->txt('delete'), false);
37 }
setCaption(string $a_value, bool $a_is_lng_id=true)
addCSSClass(string $a_value)
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References ilButtonBase\$type, ILIAS\GlobalScreen\Provider\__construct(), ilButtonBase\addCSSClass(), ilAssFileUploadFileTableCommandButton\lng(), ilAssFileUploadFileTableCommandButton\setAction(), and ilButtonBase\setCaption().

+ Here is the call graph for this function:

Member Function Documentation

◆ getInstance()

static ilAssFileUploadFileTableDeleteButton::getInstance ( )
static

Reimplemented from ilSubmitButton.

Definition at line 39 of file class.ilAssFileUploadFileTableDeleteButton.php.

39 : self
40 {
41 return new self(self::TYPE_SUBMIT);
42 }

References ilButtonBase\TYPE_SUBMIT.

Referenced by assFileUploadGUI\buildFileTableDeleteButtonInstance().

+ Here is the caller graph for this function:

Field Documentation

◆ ACTION

const ilAssFileUploadFileTableDeleteButton::ACTION = 'delete'

◆ ILC_SUBMIT_CSS_CLASS

const ilAssFileUploadFileTableDeleteButton::ILC_SUBMIT_CSS_CLASS = 'ilc_qsubmit_Submit'

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