‪TYPO3CMS  10.4
ButtonProvider.php
Go to the documentation of this file.
1 <?php
2 
3 declare(strict_types=1);
4 
5 /*
6  * This file is part of the TYPO3 CMS project.
7  *
8  * It is free software; you can redistribute it and/or modify it under
9  * the terms of the GNU General Public License, either version 2
10  * of the License, or any later version.
11  *
12  * For the full copyright and license information, please read the
13  * LICENSE.txt file that was distributed with this source code.
14  *
15  * The TYPO3 project - inspiring people to share!
16  */
17 
19 
21 
26 {
30  private ‪$title;
31 
35  private ‪$target;
36 
40  private ‪$link;
41 
42  public function ‪__construct(string ‪$title, string ‪$link, string ‪$target = '')
43  {
44  $this->title = ‪$title;
45  $this->target = ‪$target;
46  $this->link = ‪$link;
47  }
48 
49  public function ‪getTitle(): string
50  {
52  }
53 
54  public function ‪getLink(): string
55  {
57  }
58 
59  public function ‪getTarget(): string
60  {
61  return ‪$this->target;
62  }
63 }
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\$title
‪string $title
Definition: ButtonProvider.php:29
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\getLink
‪getLink()
Definition: ButtonProvider.php:51
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider
Definition: ButtonProvider.php:26
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\__construct
‪__construct(string $title, string $link, string $target='')
Definition: ButtonProvider.php:39
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\$link
‪string $link
Definition: ButtonProvider.php:37
‪TYPO3\CMS\Dashboard\Widgets\Provider
Definition: ButtonProvider.php:18
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\$target
‪string $target
Definition: ButtonProvider.php:33
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\getTitle
‪getTitle()
Definition: ButtonProvider.php:46
‪TYPO3\CMS\Dashboard\Widgets\ButtonProviderInterface
Definition: ButtonProviderInterface.php:24
‪TYPO3\CMS\Dashboard\Widgets\Provider\ButtonProvider\getTarget
‪getTarget()
Definition: ButtonProvider.php:56