ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 
4 require_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  {
20  parent::__construct($type);
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 }
addCSSClass($a_value)
Add CSS class.
setCaption($a_value, $a_is_lng_id=true)
Set caption.