1 | <?php |
||
16 | class Configuration extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity |
||
17 | { |
||
18 | |||
19 | // @todo hide fields hier eintragen |
||
20 | const DEFAULT_HIDE_FIELDS = 'is_local, |
||
21 | passes_juice_to_url, |
||
22 | is_indexable, |
||
23 | mime, |
||
24 | header_status, |
||
25 | country, |
||
26 | mime_error, |
||
27 | hash, |
||
28 | language, |
||
29 | redirect_category, |
||
30 | redirect_to_mime_error, |
||
31 | redirect_type_group, |
||
32 | redirect_to_hash, |
||
33 | redirect_to_mime, |
||
34 | redirect_to_language, |
||
35 | redirect_to_is_local, |
||
36 | redirect_to_header_status, |
||
37 | redirect_to_country, |
||
38 | twitter_description, |
||
39 | twitter_title, |
||
40 | twitter_image, |
||
41 | og_country, |
||
42 | og_language, |
||
43 | og_image, |
||
44 | meta_title, |
||
45 | meta_description, |
||
46 | og_url, |
||
47 | og_title, |
||
48 | og_description, |
||
49 | compression_type,'; |
||
50 | |||
51 | /** |
||
52 | * api_key |
||
53 | * |
||
54 | * @db |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $apiKey; |
||
58 | |||
59 | /** |
||
60 | * project_id |
||
61 | * |
||
62 | * @db |
||
63 | * @var string |
||
64 | */ |
||
65 | protected $projectId; |
||
66 | |||
67 | /** |
||
68 | * @var string |
||
69 | * @db |
||
70 | */ |
||
71 | protected $hideFields; |
||
72 | |||
73 | /** |
||
74 | * Returns the project id |
||
75 | * |
||
76 | * @return string |
||
77 | */ |
||
78 | public function getProjectId() |
||
82 | |||
83 | /** |
||
84 | * Sets the projects id |
||
85 | * |
||
86 | * @param string $projectId |
||
87 | */ |
||
88 | public function setProjectId($projectId) |
||
92 | |||
93 | /** |
||
94 | * Returns the api key |
||
95 | * |
||
96 | * @return string |
||
97 | */ |
||
98 | public function getApiKey() |
||
102 | |||
103 | /** |
||
104 | * Sets the api key |
||
105 | * |
||
106 | * @param string $apiKey |
||
107 | */ |
||
108 | public function setApiKey($apiKey) |
||
112 | |||
113 | /** |
||
114 | * @return string |
||
115 | */ |
||
116 | public function getHideFields() |
||
120 | |||
121 | /** |
||
122 | * @return array |
||
123 | */ |
||
124 | public function getHideFieldsAsArray() |
||
128 | |||
129 | /** |
||
130 | * @param string $hideFields |
||
131 | */ |
||
132 | public function setHideFields($hideFields) |
||
136 | |||
137 | } |
||
138 |