ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilAssFileUploadFileTableCommandButton.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
'Services/UIComponent/Button/classes/class.ilSubmitButton.php'
;
5
12
class
ilAssFileUploadFileTableCommandButton
extends
ilSubmitButton
13
{
17
protected
$lng
;
18
22
protected
$action
;
23
27
public
function
__construct
($buttonType)
28
{
29
global
$DIC
;
/* @var ILIAS\DI\Container $DIC */
30
parent::__construct($buttonType);
31
$this->
lng
($DIC[
'lng'
]);
32
}
33
38
public
function
lng
(
ilLanguage
$lng
= null)
39
{
40
if
(
$lng
=== null) {
41
return
$this->lng
;
42
}
43
44
$this->
lng
=
$lng
;
45
}
46
50
public
function
getAction
()
51
{
52
return
$this->action
;
53
}
54
58
public
function
setAction
(
$action
)
59
{
60
$this->action =
$action
;
61
}
62
63
public
function
renderAttributes
(array $a_additional_attr = null)
64
{
65
if
(is_array($a_additional_attr) && isset($a_additional_attr[
'name'
])) {
66
$a_additional_attr[
'name'
] .=
"[{$this->getAction()}]"
;
67
}
68
69
return
parent::renderAttributes($a_additional_attr);
// TODO: Change the autogenerated stub
70
}
71
}
ilAssFileUploadFileTableCommandButton\$action
$action
Definition:
class.ilAssFileUploadFileTableCommandButton.php:22
ilSubmitButton
Definition:
class.ilSubmitButton.php:13
$DIC
global $DIC
Definition:
saml.php:7
ilAssFileUploadFileTableCommandButton\$lng
$lng
Definition:
class.ilAssFileUploadFileTableCommandButton.php:17
ilAssFileUploadFileTableCommandButton\setAction
setAction($action)
Definition:
class.ilAssFileUploadFileTableCommandButton.php:58
ilAssFileUploadFileTableCommandButton
Definition:
class.ilAssFileUploadFileTableCommandButton.php:12
ilAssFileUploadFileTableCommandButton\__construct
__construct($buttonType)
ilAssFileUploadFileTableCommandButton constructor.
Definition:
class.ilAssFileUploadFileTableCommandButton.php:27
ilAssFileUploadFileTableCommandButton\lng
lng(ilLanguage $lng=null)
Definition:
class.ilAssFileUploadFileTableCommandButton.php:38
ilAssFileUploadFileTableCommandButton\renderAttributes
renderAttributes(array $a_additional_attr=null)
Definition:
class.ilAssFileUploadFileTableCommandButton.php:63
ilAssFileUploadFileTableCommandButton\getAction
getAction()
Definition:
class.ilAssFileUploadFileTableCommandButton.php:50
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
Modules
TestQuestionPool
classes
questions
class.ilAssFileUploadFileTableCommandButton.php
Generated on Thu Jan 16 2025 19:02:13 for ILIAS by
1.8.13 (using
Doxyfile
)