TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
ButtonInterface Interface Reference
Inheritance diagram for ButtonInterface:
AbstractButton HelpButton ShortcutButton FullyRenderedButton InputButton LinkButton SplitButton InputButton LinkButton SplitButton

Public Member Functions

 isValid ()
 
 getType ()
 
 __toString ()
 
 render ()
 

Detailed Description

Interface for buttons

Definition at line 20 of file ButtonInterface.php.

Member Function Documentation

__toString ( )

RenderMethod of a button if accessed as string from fluid

Returns
string

Implemented in ShortcutButton, SplitButton, InputButton, HelpButton, LinkButton, AbstractButton, and FullyRenderedButton.

getType ( )

Returns the fully qualified class name of the button as a string

Returns
string

Implemented in ShortcutButton, HelpButton, AbstractButton, and FullyRenderedButton.

Referenced by ButtonBar\addButton().

isValid ( )

Validates all set parameters of a button.

Returns
bool

Implemented in ShortcutButton, InputButton, HelpButton, SplitButton, AbstractButton, FullyRenderedButton, and LinkButton.

Referenced by ButtonBar\addButton().

render ( )

Renders the markup for the button

Returns
string

Implemented in HelpButton, InputButton, AbstractButton, FullyRenderedButton, and LinkButton.

Referenced by ShortcutButton\__toString().