ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
class.ilAssFileUploadFileTableReuseButton.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 = 'reuse';
15
16 public function __construct($type)
17 {
19 $this->setAction(self::ACTION);
20 $this->setCaption($this->lng()->txt('ass_file_upload_reuse_btn'), false);
21 }
22
23 public static function getInstance()
24 {
25 return new self(self::TYPE_SUBMIT);
26 }
27}
An exception for terminatinating execution or to throw for unit testing.
__construct($type)
ilAssFileUploadFileTableCommandButton constructor.
setCaption($a_value, $a_is_lng_id=true)
Set caption.
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc