Completed
Branch master (f39c0d)
by Tomas Norre
20:44
created
Classes/Controller/GolfCourseController.php 1 patch
Indentation   +17 added lines, -17 removed lines patch added patch discarded remove patch
@@ -33,23 +33,23 @@
 block discarded – undo
33 33
 class GolfCourseController extends \TYPO3\CMS\Extbase\Mvc\Controller\ActionController
34 34
 {
35 35
 
36
-    /**
37
-     * golfCourseRepository
38
-     *
39
-     * @var \TNM\GolfCourses\Domain\Repository\GolfCourseRepository
40
-     * @inject
41
-     */
42
-    protected $golfCourseRepository = NULL;
36
+	/**
37
+	 * golfCourseRepository
38
+	 *
39
+	 * @var \TNM\GolfCourses\Domain\Repository\GolfCourseRepository
40
+	 * @inject
41
+	 */
42
+	protected $golfCourseRepository = NULL;
43 43
     
44
-    /**
45
-     * action list
46
-     *
47
-     * @return void
48
-     */
49
-    public function listAction()
50
-    {
51
-        $golfCourses = $this->golfCourseRepository->findAll();
52
-        $this->view->assign('golfCourses', $golfCourses);
53
-    }
44
+	/**
45
+	 * action list
46
+	 *
47
+	 * @return void
48
+	 */
49
+	public function listAction()
50
+	{
51
+		$golfCourses = $this->golfCourseRepository->findAll();
52
+		$this->view->assign('golfCourses', $golfCourses);
53
+	}
54 54
 
55 55
 }
56 56
\ No newline at end of file
Please login to merge, or discard this patch.
Classes/Domain/Model/GolfCourse.php 1 patch
Indentation   +125 added lines, -125 removed lines patch added patch discarded remove patch
@@ -33,144 +33,144 @@
 block discarded – undo
33 33
 class GolfCourse extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
34 34
 {
35 35
 
36
-    /**
37
-     * name
38
-     *
39
-     * @var string
40
-     */
41
-    protected $name = '';
36
+	/**
37
+	 * name
38
+	 *
39
+	 * @var string
40
+	 */
41
+	protected $name = '';
42 42
     
43
-    /**
44
-     * website
45
-     *
46
-     * @var string
47
-     */
48
-    protected $website = '';
43
+	/**
44
+	 * website
45
+	 *
46
+	 * @var string
47
+	 */
48
+	protected $website = '';
49 49
     
50
-    /**
51
-     * comment
52
-     *
53
-     * @var string
54
-     */
55
-    protected $comment = '';
50
+	/**
51
+	 * comment
52
+	 *
53
+	 * @var string
54
+	 */
55
+	protected $comment = '';
56 56
     
57
-    /**
58
-     * country
59
-     *
60
-     * @var int
61
-     */
62
-    protected $country = 0;
57
+	/**
58
+	 * country
59
+	 *
60
+	 * @var int
61
+	 */
62
+	protected $country = 0;
63 63
     
64
-    /**
65
-     * logo
66
-     *
67
-     * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
68
-     */
69
-    protected $logo = null;
64
+	/**
65
+	 * logo
66
+	 *
67
+	 * @var \TYPO3\CMS\Extbase\Domain\Model\FileReference
68
+	 */
69
+	protected $logo = null;
70 70
     
71
-    /**
72
-     * Returns the name
73
-     *
74
-     * @return string $name
75
-     */
76
-    public function getName()
77
-    {
78
-        return $this->name;
79
-    }
71
+	/**
72
+	 * Returns the name
73
+	 *
74
+	 * @return string $name
75
+	 */
76
+	public function getName()
77
+	{
78
+		return $this->name;
79
+	}
80 80
     
81
-    /**
82
-     * Sets the name
83
-     *
84
-     * @param string $name
85
-     * @return void
86
-     */
87
-    public function setName($name)
88
-    {
89
-        $this->name = $name;
90
-    }
81
+	/**
82
+	 * Sets the name
83
+	 *
84
+	 * @param string $name
85
+	 * @return void
86
+	 */
87
+	public function setName($name)
88
+	{
89
+		$this->name = $name;
90
+	}
91 91
     
92
-    /**
93
-     * Returns the website
94
-     *
95
-     * @return string $website
96
-     */
97
-    public function getWebsite()
98
-    {
99
-        return $this->website;
100
-    }
92
+	/**
93
+	 * Returns the website
94
+	 *
95
+	 * @return string $website
96
+	 */
97
+	public function getWebsite()
98
+	{
99
+		return $this->website;
100
+	}
101 101
     
102
-    /**
103
-     * Sets the website
104
-     *
105
-     * @param string $website
106
-     * @return void
107
-     */
108
-    public function setWebsite($website)
109
-    {
110
-        $this->website = $website;
111
-    }
102
+	/**
103
+	 * Sets the website
104
+	 *
105
+	 * @param string $website
106
+	 * @return void
107
+	 */
108
+	public function setWebsite($website)
109
+	{
110
+		$this->website = $website;
111
+	}
112 112
     
113
-    /**
114
-     * Returns the comment
115
-     *
116
-     * @return string $comment
117
-     */
118
-    public function getComment()
119
-    {
120
-        return $this->comment;
121
-    }
113
+	/**
114
+	 * Returns the comment
115
+	 *
116
+	 * @return string $comment
117
+	 */
118
+	public function getComment()
119
+	{
120
+		return $this->comment;
121
+	}
122 122
     
123
-    /**
124
-     * Sets the comment
125
-     *
126
-     * @param string $comment
127
-     * @return void
128
-     */
129
-    public function setComment($comment)
130
-    {
131
-        $this->comment = $comment;
132
-    }
123
+	/**
124
+	 * Sets the comment
125
+	 *
126
+	 * @param string $comment
127
+	 * @return void
128
+	 */
129
+	public function setComment($comment)
130
+	{
131
+		$this->comment = $comment;
132
+	}
133 133
     
134
-    /**
135
-     * Returns the country
136
-     *
137
-     * @return int $country
138
-     */
139
-    public function getCountry()
140
-    {
141
-        return $this->country;
142
-    }
134
+	/**
135
+	 * Returns the country
136
+	 *
137
+	 * @return int $country
138
+	 */
139
+	public function getCountry()
140
+	{
141
+		return $this->country;
142
+	}
143 143
     
144
-    /**
145
-     * Sets the country
146
-     *
147
-     * @param int $country
148
-     * @return void
149
-     */
150
-    public function setCountry($country)
151
-    {
152
-        $this->country = $country;
153
-    }
144
+	/**
145
+	 * Sets the country
146
+	 *
147
+	 * @param int $country
148
+	 * @return void
149
+	 */
150
+	public function setCountry($country)
151
+	{
152
+		$this->country = $country;
153
+	}
154 154
     
155
-    /**
156
-     * Returns the logo
157
-     *
158
-     * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $logo
159
-     */
160
-    public function getLogo()
161
-    {
162
-        return $this->logo;
163
-    }
155
+	/**
156
+	 * Returns the logo
157
+	 *
158
+	 * @return \TYPO3\CMS\Extbase\Domain\Model\FileReference $logo
159
+	 */
160
+	public function getLogo()
161
+	{
162
+		return $this->logo;
163
+	}
164 164
     
165
-    /**
166
-     * Sets the logo
167
-     *
168
-     * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $logo
169
-     * @return void
170
-     */
171
-    public function setLogo(\TYPO3\CMS\Extbase\Domain\Model\FileReference $logo)
172
-    {
173
-        $this->logo = $logo;
174
-    }
165
+	/**
166
+	 * Sets the logo
167
+	 *
168
+	 * @param \TYPO3\CMS\Extbase\Domain\Model\FileReference $logo
169
+	 * @return void
170
+	 */
171
+	public function setLogo(\TYPO3\CMS\Extbase\Domain\Model\FileReference $logo)
172
+	{
173
+		$this->logo = $logo;
174
+	}
175 175
 
176 176
 }
177 177
\ No newline at end of file
Please login to merge, or discard this patch.