‪TYPO3CMS  ‪main
AbstractControl.php
Go to the documentation of this file.
1 <?php
2 
3 /*
4  * This file is part of the TYPO3 CMS project.
5  *
6  * It is free software; you can redistribute it and/or modify it under
7  * the terms of the GNU General Public License, either version 2
8  * of the License, or any later version.
9  *
10  * For the full copyright and license information, please read the
11  * LICENSE.txt file that was distributed with this source code.
12  *
13  * The TYPO3 project - inspiring people to share!
14  */
15 
17 
22 {
28  protected ‪$classes = '';
29 
35  protected ‪$title = '';
36 
43  protected ‪$dataAttributes = [];
44 
50  public function ‪getClasses()
51  {
52  return ‪$this->classes;
53  }
54 
60  public function ‪getTitle()
61  {
62  return ‪$this->title;
63  }
64 
70  public function ‪getDataAttributes()
71  {
73  }
74 
82  public function ‪setClasses(‪$classes)
83  {
84  $this->classes = ‪$classes;
85  return $this;
86  }
87 
95  public function ‪setTitle(‪$title)
96  {
97  $this->title = ‪$title;
98  return $this;
99  }
100 
108  public function ‪setDataAttributes(array ‪$dataAttributes)
109  {
110  $this->dataAttributes = ‪$dataAttributes;
111  return $this;
112  }
113 }
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\setClasses
‪$this setClasses($classes)
Definition: AbstractControl.php:79
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\getDataAttributes
‪array getDataAttributes()
Definition: AbstractControl.php:67
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\getClasses
‪string getClasses()
Definition: AbstractControl.php:47
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\$title
‪string $title
Definition: AbstractControl.php:33
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\getTitle
‪string getTitle()
Definition: AbstractControl.php:57
‪TYPO3\CMS\Backend\Template\Components\AbstractControl
Definition: AbstractControl.php:22
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\$classes
‪string $classes
Definition: AbstractControl.php:27
‪TYPO3\CMS\Backend\Template\Components
Definition: AbstractControl.php:16
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\$dataAttributes
‪array $dataAttributes
Definition: AbstractControl.php:40
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\setDataAttributes
‪$this setDataAttributes(array $dataAttributes)
Definition: AbstractControl.php:105
‪TYPO3\CMS\Backend\Template\Components\AbstractControl\setTitle
‪$this setTitle($title)
Definition: AbstractControl.php:92