ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
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
4require_once 'Modules/TestQuestionPool/classes/questions/class.ilAssFileUploadFileTableCommandButton.php';
5
13{
14 const ACTION = 'delete';
15
16 const ILC_SUBMIT_CSS_CLASS = 'ilc_qsubmit_Submit';
17
18 public function __construct($type)
19 {
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}
An exception for terminatinating execution or to throw for unit testing.
__construct($type)
ilAssFileUploadFileTableCommandButton constructor.
addCSSClass($a_value)
Add CSS class.
setCaption($a_value, $a_is_lng_id=true)
Set caption.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc