ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
class.ilAssFileUploadFileTableDeleteButton.php
Go to the documentation of this file.
1 <?php
2 
26 {
27  public const ACTION = 'delete';
28 
29  public const ILC_SUBMIT_CSS_CLASS = 'ilc_qsubmit_Submit';
30 
31  public function __construct($type)
32  {
34  $this->setAction(self::ACTION);
35  $this->addCSSClass(self::ILC_SUBMIT_CSS_CLASS);
36  $this->setCaption($this->lng()->txt('delete'), false);
37  }
38 
39  public static function getInstance(): self
40  {
41  return new self(self::TYPE_SUBMIT);
42  }
43 }
addCSSClass(string $a_value)
setCaption(string $a_value, bool $a_is_lng_id=true)
__construct(Container $dic, ilPlugin $plugin)