‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton:
TYPO3\CMS\Backend\Template\Components\AbstractControl TYPO3\CMS\Backend\Template\Components\Buttons\ButtonInterface TYPO3\CMS\Backend\Template\Components\Buttons\InputButton TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton TYPO3\CMS\Backend\Template\Components\Buttons\SplitButton

Public Member Functions

bool getShowLabelText ()
 
$this setShowLabelText ($showLabelText)
 
Icon getIcon ()
 
string getType ()
 
$this setIcon (Icon $icon)
 
 isDisabled ()
 
 setDisabled (bool $disabled)
 
bool isValid ()
 
 __toString ()
 
string render ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Backend\Template\Components\AbstractControl
string getClasses ()
 
string getTitle ()
 
array getDataAttributes ()
 
$this setClasses ($classes)
 
$this setTitle ($title)
 
$this setDataAttributes (array $dataAttributes)
 

Protected Attributes

Icon $icon
 
bool $showLabelText = false
 
bool $disabled = false
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Backend\Template\Components\AbstractControl
string $classes = ''
 
string $title = ''
 
array $dataAttributes = array( )
 

Detailed Description

AbstractButton

Definition at line 24 of file AbstractButton.php.

Member Function Documentation

◆ __toString()

TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::__toString ( )

Implementation from ButtonInterface This object is an abstract, so no implementation is necessary

Reimplemented in TYPO3\CMS\Backend\Template\Components\Buttons\SplitButton, TYPO3\CMS\Backend\Template\Components\Buttons\InputButton, and TYPO3\CMS\Backend\Template\Components\Buttons\LinkButton.

Definition at line 132 of file AbstractButton.php.

◆ getIcon()

◆ getShowLabelText()

bool TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::getShowLabelText ( )

Show Label text

Returns
‪bool

Definition at line 49 of file AbstractButton.php.

References TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton\$showLabelText.

◆ getType()

◆ isDisabled()

TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::isDisabled ( )

◆ isValid()

bool TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::isValid ( )

◆ render()

string TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::render ( )

◆ setDisabled()

TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::setDisabled ( bool  $disabled)

Set if button needs to be disabled

Definition at line 111 of file AbstractButton.php.

References TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton\$disabled.

◆ setIcon()

$this TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::setIcon ( Icon  $icon)

◆ setShowLabelText()

$this TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::setShowLabelText (   $showLabelText)

Member Data Documentation

◆ $disabled

bool TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::$disabled = false
protected

◆ $icon

Icon TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::$icon
protected

◆ $showLabelText

bool TYPO3\CMS\Backend\Template\Components\Buttons\AbstractButton::$showLabelText = false
protected