[BUGFIX] Folders created from BE fail to set permissions
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Classes / Domain / Model / UpdateTranslationForm.php
1 <?php
2 namespace TYPO3\CMS\Lang\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 /**
18 * Model to contain all information from the form requesting to update translations
19 *
20 * @author Sebastian Fischer <typo3@evoweb.de>
21 */
22 class UpdateTranslationForm extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity {
23
24 /**
25 * @var array
26 */
27 protected $selectedLanguages = array();
28
29 /**
30 * @var array
31 */
32 protected $extensions = array();
33
34 /**
35 * Setter for the extensions
36 *
37 * @param array $extensions of extensions that were requested
38 * @return void
39 */
40 public function setExtensions(array $extensions) {
41 $this->extensions = $extensions;
42 }
43
44 /**
45 * Getter for the extensions
46 *
47 * @return array
48 */
49 public function getExtensions() {
50 return $this->extensions;
51 }
52
53 /**
54 * Setter for the selected languages
55 *
56 * @param array $selectedLanguages selected languages that were requested
57 * @return void
58 */
59 public function setSelectedLanguages(array $selectedLanguages) {
60 $this->selectedLanguages = $selectedLanguages;
61 }
62
63 /**
64 * Getter for the selected languages
65 *
66 * @return array
67 */
68 public function getSelectedLanguages() {
69 return $this->selectedLanguages;
70 }
71
72 }