ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 {
18 parent::__construct($type);
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.