ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
class.ilAssFileUploadFileTableDeleteButton.php
Go to the documentation of this file.
1
<?
php
2
/* Copyright (c) 1998-2013 ILIAS open source, Extended GPL, see docs/LICENSE */
3
4
require_once
'Modules/TestQuestionPool/classes/questions/class.ilAssFileUploadFileTableCommandButton.php'
;
5
12
class
ilAssFileUploadFileTableDeleteButton
extends
ilAssFileUploadFileTableCommandButton
13
{
14
const
ACTION
=
'delete'
;
15
16
const
ILC_SUBMIT_CSS_CLASS
=
'ilc_qsubmit_Submit'
;
17
18
public
function
__construct
(
$type
)
19
{
20
parent::__construct(
$type
);
21
$this->
setAction
(self::ACTION);
22
$this->
addCSSClass
(self::ILC_SUBMIT_CSS_CLASS);
23
$this->
setCaption
($this->
lng
()->txt(
'delete'
),
false
);
24
}
25
26
public
static
function
getInstance
()
27
{
28
return
new
self
(self::TYPE_SUBMIT);
29
}
30
}
ilAssFileUploadFileTableDeleteButton\getInstance
static getInstance()
Definition:
class.ilAssFileUploadFileTableDeleteButton.php:26
ilButtonBase\$type
$type
Definition:
class.ilButtonBase.php:15
ilAssFileUploadFileTableDeleteButton\__construct
__construct($type)
Definition:
class.ilAssFileUploadFileTableDeleteButton.php:18
ilButtonBase\addCSSClass
addCSSClass($a_value)
Add CSS class.
Definition:
class.ilButtonBase.php:245
ilButtonBase\setCaption
setCaption($a_value, $a_is_lng_id=true)
Set caption.
Definition:
class.ilButtonBase.php:113
ilAssFileUploadFileTableCommandButton\setAction
setAction($action)
Definition:
class.ilAssFileUploadFileTableCommandButton.php:58
ilAssFileUploadFileTableCommandButton
Definition:
class.ilAssFileUploadFileTableCommandButton.php:12
ilAssFileUploadFileTableCommandButton\lng
lng(ilLanguage $lng=null)
Definition:
class.ilAssFileUploadFileTableCommandButton.php:37
ilAssFileUploadFileTableDeleteButton\ILC_SUBMIT_CSS_CLASS
const ILC_SUBMIT_CSS_CLASS
Definition:
class.ilAssFileUploadFileTableDeleteButton.php:16
ilAssFileUploadFileTableDeleteButton
Definition:
class.ilAssFileUploadFileTableDeleteButton.php:12
php
ilAssFileUploadFileTableDeleteButton\ACTION
const ACTION
Definition:
class.ilAssFileUploadFileTableDeleteButton.php:14
Modules
TestQuestionPool
classes
questions
class.ilAssFileUploadFileTableDeleteButton.php
Generated on Fri Jan 17 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)