ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAssFileUploadFileTableReuseButton Class Reference
+ Inheritance diagram for ilAssFileUploadFileTableReuseButton:
+ Collaboration diagram for ilAssFileUploadFileTableReuseButton:

Public Member Functions

 __construct ($type)
 
- Public Member Functions inherited from ilAssFileUploadFileTableCommandButton
 __construct ($buttonType)
 ilAssFileUploadFileTableCommandButton constructor. More...
 
 lng (ilLanguage $lng=null)
 
 getAction ()
 
 setAction ($action)
 
 renderAttributes (array $a_additional_attr=null)
 
- Public Member Functions inherited from ilSubmitButton
 setCommand (string $a_value)
 Set submit command. More...
 
 getCommand ()
 
 render ()
 
- Public Member Functions inherited from ilButtonBase
 __clone ()
 
 getType ()
 
 setId (?string $a_value)
 
 getId ()
 
 setCaption (string $a_value, bool $a_is_lng_id=true)
 
 getCaption (bool $a_translate=true)
 
 setPrimary (bool $a_value)
 
 isPrimary ()
 
 setOmitPreventDoubleSubmission (bool $a_value)
 Toggle double submission prevention status. More...
 
 getOmitPreventDoubleSubmission ()
 
 setOnClick (string $a_value)
 
 getOnClick ()
 
 setDisabled (bool $a_value)
 
 isDisabled ()
 
 addCSSClass (string $a_value)
 
 getCSSClasses ()
 
 applyDefaultCss (?bool $apply_default_css=null)
 
 render ()
 
 getToolbarHTML ()
 Get input item HTML to be inserted into ilToolbarGUI. More...
 

Static Public Member Functions

static getInstance ()
 
- Static Public Member Functions inherited from ilSubmitButton
static getInstance ()
 
- Static Public Member Functions inherited from ilButtonBase
static getInstance ()
 

Data Fields

const ACTION = 'reuse'
 
- Data Fields inherited from ilButtonBase
const TYPE_SUBMIT = 1
 
const TYPE_LINK = 2
 
const TYPE_SPLIT = 3
 
const TYPE_BUTTON = 4
 

Additional Inherited Members

- Protected Member Functions inherited from ilButtonBase
 __construct (int $a_type)
 
 setType (int $a_value)
 
 gatherCssClasses ()
 
 renderAttributesHelper (array $a_attr)
 
 renderAttributes (array $a_additional_attr=null)
 Render current HTML attributes. More...
 
 prepareRender ()
 
- Protected Attributes inherited from ilAssFileUploadFileTableCommandButton
 $action
 
- Protected Attributes inherited from ilSubmitButton
string $cmd = ""
 
- Protected Attributes inherited from ilButtonBase
ilLanguage $lng
 
int $type = 0
 
string $id = ""
 
string $caption = ""
 
bool $caption_is_lng_id = false
 
bool $primary = false
 
bool $omit_prevent_double_submission = false
 
string $onclick = ""
 
int $acc_key = 0
 
bool $disabled = false
 
array $css = array()
 
bool $apply_default_css = true
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssFileUploadFileTableReuseButton::__construct (   $type)

Definition at line 29 of file class.ilAssFileUploadFileTableReuseButton.php.

References ilButtonBase\$type, ILIAS\GlobalScreen\Provider\__construct(), ilAssFileUploadFileTableCommandButton\lng(), ilAssFileUploadFileTableCommandButton\setAction(), and ilButtonBase\setCaption().

30  {
32  $this->setAction(self::ACTION);
33  $this->setCaption($this->lng()->txt('ass_file_upload_reuse_btn'), false);
34  }
setCaption(string $a_value, bool $a_is_lng_id=true)
__construct(Container $dic, ilPlugin $plugin)
+ Here is the call graph for this function:

Member Function Documentation

◆ getInstance()

static ilAssFileUploadFileTableReuseButton::getInstance ( )
static

Definition at line 36 of file class.ilAssFileUploadFileTableReuseButton.php.

Referenced by assFileUploadGUI\buildFileTableReuseButtonInstance().

36  : self
37  {
38  return new self(self::TYPE_SUBMIT);
39  }
+ Here is the caller graph for this function:

Field Documentation

◆ ACTION

const ilAssFileUploadFileTableReuseButton::ACTION = 'reuse'

The documentation for this class was generated from the following file: