[FEATURE] Add possibility to use session data in TS conditions
[Packages/TYPO3.CMS.git] / typo3 / sysext / about / Classes / Domain / Model / Extension.php
1 <?php
2 namespace TYPO3\CMS\About\Domain\Model;
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 use TYPO3\CMS\Extbase\DomainObject\AbstractEntity;
18
19 /**
20 * An extension helper model to be used in ext:about context
21 */
22 class Extension extends AbstractEntity
23 {
24 /**
25 * @var array
26 */
27 protected $authors = [];
28
29 /**
30 * @var string
31 */
32 protected $key = '';
33
34 /**
35 * @var string
36 */
37 protected $title = '';
38
39 /**
40 * @param array $authors
41 */
42 public function setAuthors($authors)
43 {
44 $this->authors = $authors;
45 }
46
47 /**
48 * @return array
49 */
50 public function getAuthors()
51 {
52 return $this->authors;
53 }
54
55 /**
56 * @param string $key
57 */
58 public function setKey($key)
59 {
60 $this->key = $key;
61 }
62
63 /**
64 * @return string
65 */
66 public function getKey()
67 {
68 return $this->key;
69 }
70
71 /**
72 * @param string $title
73 */
74 public function setTitle($title)
75 {
76 $this->title = $title;
77 }
78
79 /**
80 * @return string
81 */
82 public function getTitle()
83 {
84 return $this->title;
85 }
86 }