TYPO3CMS  8
 All Classes Namespaces Files Functions Variables Pages
AbstractControl Class Reference
Inheritance diagram for AbstractControl:
AbstractButton MenuItem InputButton LinkButton SplitButton

Public Member Functions

 getClasses ()
 
 getTitle ()
 
 getDataAttributes ()
 
 getOnClick ()
 
 setClasses ($classes)
 
 setTitle ($title)
 
 setDataAttributes (array $dataAttributes)
 
 setOnClick ($onClick)
 

Protected Attributes

 $classes = ''
 
 $title = ''
 
 $dataAttributes = []
 
 $onClick = ''
 

Detailed Description

Control used by various components

Definition at line 20 of file AbstractControl.php.

Member Function Documentation

getClasses ( )

Get classes

Returns
string

Definition at line 57 of file AbstractControl.php.

References AbstractControl\$classes.

Referenced by LinkButton\render(), and InputButton\render().

getDataAttributes ( )

Get Data attributes

Returns
array

Definition at line 77 of file AbstractControl.php.

References AbstractControl\$dataAttributes.

getOnClick ( )

Get Onclick Attribute

Returns
string

Definition at line 87 of file AbstractControl.php.

References AbstractControl\$onClick.

getTitle ( )
setClasses (   $classes)

Set classes

Parameters
string$classesHTML class attribute to set
Returns
$this

Definition at line 99 of file AbstractControl.php.

References AbstractControl\$classes.

setDataAttributes ( array  $dataAttributes)

Set Data attributes

Parameters
array$dataAttributesHTML data attributes to set
Returns
$this

Definition at line 125 of file AbstractControl.php.

References AbstractControl\$dataAttributes.

setOnClick (   $onClick)

Set OnClick

Parameters
string$onClickHTML onClick attribute to set
Returns
$this

Definition at line 138 of file AbstractControl.php.

References AbstractControl\$onClick.

setTitle (   $title)

Set title attribute

Parameters
string$titleHTML title attribute to set
Returns
$this

Definition at line 112 of file AbstractControl.php.

References AbstractControl\$title.

Member Data Documentation

$classes = ''
protected

Definition at line 27 of file AbstractControl.php.

Referenced by AbstractControl\getClasses(), and AbstractControl\setClasses().

$dataAttributes = []
protected
$onClick = ''
protected
$title = ''
protected