ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
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 
4 require_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 }
setCaption($a_value, $a_is_lng_id=true)
Set caption.