Test Setup Failed
Branch master (be722e)
by Yannick
75:49 queued 20:48
created

src/Chamilo/CourseBundle/Entity/CThematic.php (1 issue)

Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
/* For licensing terms, see /license.txt */
3
4
namespace Chamilo\CourseBundle\Entity;
5
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * CThematic
10
 *
11
 * @ORM\Table(
12
 *  name="c_thematic",
13
 *  indexes={
14
 *      @ORM\Index(name="course", columns={"c_id"}),
15
 *      @ORM\Index(name="active", columns={"active", "session_id"})
16
 *  }
17
 * )
18
 * @ORM\Entity
19
 */
20
class CThematic
21
{
22
    /**
23
     * @var integer
24
     *
25
     * @ORM\Column(name="iid", type="integer")
26
     * @ORM\Id
27
     * @ORM\GeneratedValue
28
     */
29
    private $iid;
0 ignored issues
show
The property $iid is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
30
31
    /**
32
     * @var integer
33
     *
34
     * @ORM\Column(name="c_id", type="integer")
35
     */
36
    private $cId;
37
38
    /**
39
     * @var integer
40
     *
41
     * @ORM\Column(name="id", type="integer", nullable=true)
42
     */
43
    private $id;
44
45
    /**
46
     * @var string
47
     *
48
     * @ORM\Column(name="title", type="string", length=255, nullable=false)
49
     */
50
    private $title;
51
52
    /**
53
     * @var string
54
     *
55
     * @ORM\Column(name="content", type="text", nullable=true)
56
     */
57
    private $content;
58
59
    /**
60
     * @var integer
61
     *
62
     * @ORM\Column(name="display_order", type="integer", nullable=false)
63
     */
64
    private $displayOrder;
65
66
    /**
67
     * @var boolean
68
     *
69
     * @ORM\Column(name="active", type="boolean", nullable=false)
70
     */
71
    private $active;
72
73
    /**
74
     * @var integer
75
     *
76
     * @ORM\Column(name="session_id", type="integer", nullable=false)
77
     */
78
    private $sessionId;
79
80
    /**
81
     * Set title
82
     *
83
     * @param string $title
84
     * @return CThematic
85
     */
86
    public function setTitle($title)
87
    {
88
        $this->title = $title;
89
90
        return $this;
91
    }
92
93
    /**
94
     * Get title
95
     *
96
     * @return string
97
     */
98
    public function getTitle()
99
    {
100
        return $this->title;
101
    }
102
103
    /**
104
     * Set content
105
     *
106
     * @param string $content
107
     * @return CThematic
108
     */
109
    public function setContent($content)
110
    {
111
        $this->content = $content;
112
113
        return $this;
114
    }
115
116
    /**
117
     * Get content
118
     *
119
     * @return string
120
     */
121
    public function getContent()
122
    {
123
        return $this->content;
124
    }
125
126
    /**
127
     * Set displayOrder
128
     *
129
     * @param integer $displayOrder
130
     * @return CThematic
131
     */
132
    public function setDisplayOrder($displayOrder)
133
    {
134
        $this->displayOrder = $displayOrder;
135
136
        return $this;
137
    }
138
139
    /**
140
     * Get displayOrder
141
     *
142
     * @return integer
143
     */
144
    public function getDisplayOrder()
145
    {
146
        return $this->displayOrder;
147
    }
148
149
    /**
150
     * Set active
151
     *
152
     * @param boolean $active
153
     * @return CThematic
154
     */
155
    public function setActive($active)
156
    {
157
        $this->active = $active;
158
159
        return $this;
160
    }
161
162
    /**
163
     * Get active
164
     *
165
     * @return boolean
166
     */
167
    public function getActive()
168
    {
169
        return $this->active;
170
    }
171
172
    /**
173
     * Set sessionId
174
     *
175
     * @param integer $sessionId
176
     * @return CThematic
177
     */
178
    public function setSessionId($sessionId)
179
    {
180
        $this->sessionId = $sessionId;
181
182
        return $this;
183
    }
184
185
    /**
186
     * Get sessionId
187
     *
188
     * @return integer
189
     */
190
    public function getSessionId()
191
    {
192
        return $this->sessionId;
193
    }
194
195
    /**
196
     * Set id
197
     *
198
     * @param integer $id
199
     * @return CThematic
200
     */
201
    public function setId($id)
202
    {
203
        $this->id = $id;
204
205
        return $this;
206
    }
207
208
    /**
209
     * Get id
210
     *
211
     * @return integer
212
     */
213
    public function getId()
214
    {
215
        return $this->id;
216
    }
217
218
    /**
219
     * Set cId
220
     *
221
     * @param integer $cId
222
     * @return CThematic
223
     */
224
    public function setCId($cId)
225
    {
226
        $this->cId = $cId;
227
228
        return $this;
229
    }
230
231
    /**
232
     * Get cId
233
     *
234
     * @return integer
235
     */
236
    public function getCId()
237
    {
238
        return $this->cId;
239
    }
240
}
241