ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
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 ($a_value)
 Set submit command. More...
 
 getCommand ()
 Get submit command. More...
 
 render ()
 
- Public Member Functions inherited from ilButtonBase
 __clone ()
 Clone instance. More...
 
 getType ()
 Get button type. More...
 
 setId ($a_value)
 Set id. More...
 
 getId ()
 Get id. More...
 
 setCaption ($a_value, $a_is_lng_id=true)
 Set caption. More...
 
 getCaption ($a_translate=true)
 Get caption. More...
 
 setPrimary ($a_value)
 Toggle primary status. More...
 
 isPrimary ()
 Get primary status. More...
 
 setOmitPreventDoubleSubmission ($a_value)
 Toggle double submission prevention status. More...
 
 getOmitPreventDoubleSubmission ()
 Get double submission prevention status. More...
 
 setOnClick ($a_value)
 Set onclick. More...
 
 getOnClick ()
 Get onclick. More...
 
 setAccessKey ($a_value)
 Set access key. More...
 
 getAccessKey ()
 Get access key. More...
 
 setDisabled ($a_value)
 Toggle disabled status. More...
 
 isDisabled ()
 Get disabled status. More...
 
 addCSSClass ($a_value)
 Add CSS class. More...
 
 getCSSClasses ()
 Get CSS class(es) More...
 
 applyDefaultCss ($apply_default_css=null)
 
 render ()
 Render HTML. More...
 
 getToolbarHTML ()
 

Static Public Member Functions

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

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 ($a_type)
 Constructor. More...
 
 setType ($a_value)
 Set button type. More...
 
 gatherCssClasses ()
 Gather all active CSS classes. More...
 
 renderAttributesHelper (array $a_attr)
 Render HTML node attributes. More...
 
 renderAttributes (array $a_additional_attr=null)
 Render current HTML attributes. More...
 
 prepareRender ()
 Prepare render. More...
 
- Protected Attributes inherited from ilAssFileUploadFileTableCommandButton
 $lng
 
 $action
 
- Protected Attributes inherited from ilSubmitButton
 $cmd
 
- Protected Attributes inherited from ilButtonBase
 $lng
 
 $type
 
 $id
 
 $caption
 
 $caption_is_lng_id
 
 $primary
 
 $omit_prevent_double_submission
 
 $onclick
 
 $acc_key
 
 $disabled
 
 $css = array()
 
 $apply_default_css = true
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

ilAssFileUploadFileTableReuseButton::__construct (   $type)

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

References ilButtonBase\$type, ilAssFileUploadFileTableCommandButton\lng(), ilAssFileUploadFileTableCommandButton\setAction(), and ilButtonBase\setCaption().

17  {
18  parent::__construct($type);
19  $this->setAction(self::ACTION);
20  $this->setCaption($this->lng()->txt('ass_file_upload_reuse_btn'), false);
21  }
setCaption($a_value, $a_is_lng_id=true)
Set caption.
+ Here is the call graph for this function:

Member Function Documentation

◆ getInstance()

static ilAssFileUploadFileTableReuseButton::getInstance ( )
static

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

Referenced by assFileUploadGUI\buildFileTableReuseButtonInstance().

24  {
25  return new self(self::TYPE_SUBMIT);
26  }
+ 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: