‪TYPO3CMS  ‪main
TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem Class Reference
Inheritance diagram for TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem:
TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\DropDownItem TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\DropDownRadio TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\DropDownToggle

Public Member Functions

 setTag (string $tag)
 
 getTag ()
 
 getIcon ()
 
 setIcon (?Icon $icon)
 
 getLabel ()
 
 setLabel (?string $label)
 
 getTitle ()
 
 setTitle (?string $title)
 
 getHref ()
 
 setHref (?string $href)
 
 setAttributes (array $attributes)
 
 isValid ()
 
 getType ()
 
 render ()
 
 __toString ()
 

Public Attributes

array< string, function getAttributes():array { return $this-> attributes
 

Protected Member Functions

 getAttributesString ()
 
 getRenderedIcon ()
 

Protected Attributes

string $tag = 'a'
 
Icon $icon = null
 
string $label = null
 
string $title = null
 
string $href = null
 
array $attributes = []
 

Detailed Description

Definition at line 22 of file AbstractDropDownItem.php.

Member Function Documentation

◆ __toString()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::__toString ( )

◆ getAttributesString()

◆ getHref()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::getHref ( )

◆ getIcon()

◆ getLabel()

◆ getRenderedIcon()

◆ getTag()

◆ getTitle()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::getTitle ( )

◆ getType()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::getType ( )

Definition at line 109 of file AbstractDropDownItem.php.

◆ isValid()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::isValid ( )

◆ render()

◆ setAttributes()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setAttributes ( array  $attributes)

◆ setHref()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setHref ( ?string  $href)

◆ setIcon()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setIcon ( ?Icon  $icon)

◆ setLabel()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setLabel ( ?string  $label)

◆ setTag()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setTag ( string  $tag)

◆ setTitle()

TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::setTitle ( ?string  $title)

Member Data Documentation

◆ $attributes

array TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::$attributes = []
protected

◆ $href

string TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::$href = null
protected

◆ $icon

Icon TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::$icon = null
protected

◆ $label

◆ $tag

string TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::$tag = 'a'
protected

◆ $title

string TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::$title = null
protected

◆ attributes

array<string, function getAttributes(): array { return $this-> TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem::attributes
Returns
‪array<string, string>

Definition at line 101 of file AbstractDropDownItem.php.

Referenced by TYPO3\CMS\Backend\Template\Components\Buttons\DropDown\AbstractDropDownItem\setAttributes().