chamilo /
chamilo-lms
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 | * CUserinfoContent |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_userinfo_content", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}), |
||
| 15 | * @ORM\Index(name="user_id", columns={"user_id"}) |
||
| 16 | * } |
||
| 17 | * ) |
||
| 18 | * @ORM\Entity |
||
| 19 | */ |
||
| 20 | class CUserinfoContent |
||
| 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
|
|||
| 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 integer |
||
| 47 | * |
||
| 48 | * @ORM\Column(name="user_id", type="integer", nullable=false) |
||
| 49 | */ |
||
| 50 | private $userId; |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @var integer |
||
| 54 | * |
||
| 55 | * @ORM\Column(name="definition_id", type="integer", nullable=false) |
||
| 56 | */ |
||
| 57 | private $definitionId; |
||
| 58 | |||
| 59 | /** |
||
| 60 | * @var string |
||
| 61 | * |
||
| 62 | * @ORM\Column(name="editor_ip", type="string", length=39, nullable=true) |
||
| 63 | */ |
||
| 64 | private $editorIp; |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @var \DateTime |
||
| 68 | * |
||
| 69 | * @ORM\Column(name="edition_time", type="datetime", nullable=true) |
||
| 70 | */ |
||
| 71 | private $editionTime; |
||
| 72 | |||
| 73 | /** |
||
| 74 | * @var string |
||
| 75 | * |
||
| 76 | * @ORM\Column(name="content", type="text", nullable=false) |
||
| 77 | */ |
||
| 78 | private $content; |
||
| 79 | |||
| 80 | /** |
||
| 81 | * Set userId |
||
| 82 | * |
||
| 83 | * @param integer $userId |
||
| 84 | * @return CUserinfoContent |
||
| 85 | */ |
||
| 86 | public function setUserId($userId) |
||
| 87 | { |
||
| 88 | $this->userId = $userId; |
||
| 89 | |||
| 90 | return $this; |
||
| 91 | } |
||
| 92 | |||
| 93 | /** |
||
| 94 | * Get userId |
||
| 95 | * |
||
| 96 | * @return integer |
||
| 97 | */ |
||
| 98 | public function getUserId() |
||
| 99 | { |
||
| 100 | return $this->userId; |
||
| 101 | } |
||
| 102 | |||
| 103 | /** |
||
| 104 | * Set definitionId |
||
| 105 | * |
||
| 106 | * @param integer $definitionId |
||
| 107 | * @return CUserinfoContent |
||
| 108 | */ |
||
| 109 | public function setDefinitionId($definitionId) |
||
| 110 | { |
||
| 111 | $this->definitionId = $definitionId; |
||
| 112 | |||
| 113 | return $this; |
||
| 114 | } |
||
| 115 | |||
| 116 | /** |
||
| 117 | * Get definitionId |
||
| 118 | * |
||
| 119 | * @return integer |
||
| 120 | */ |
||
| 121 | public function getDefinitionId() |
||
| 122 | { |
||
| 123 | return $this->definitionId; |
||
| 124 | } |
||
| 125 | |||
| 126 | /** |
||
| 127 | * Set editorIp |
||
| 128 | * |
||
| 129 | * @param string $editorIp |
||
| 130 | * @return CUserinfoContent |
||
| 131 | */ |
||
| 132 | public function setEditorIp($editorIp) |
||
| 133 | { |
||
| 134 | $this->editorIp = $editorIp; |
||
| 135 | |||
| 136 | return $this; |
||
| 137 | } |
||
| 138 | |||
| 139 | /** |
||
| 140 | * Get editorIp |
||
| 141 | * |
||
| 142 | * @return string |
||
| 143 | */ |
||
| 144 | public function getEditorIp() |
||
| 145 | { |
||
| 146 | return $this->editorIp; |
||
| 147 | } |
||
| 148 | |||
| 149 | /** |
||
| 150 | * Set editionTime |
||
| 151 | * |
||
| 152 | * @param \DateTime $editionTime |
||
| 153 | * @return CUserinfoContent |
||
| 154 | */ |
||
| 155 | public function setEditionTime($editionTime) |
||
| 156 | { |
||
| 157 | $this->editionTime = $editionTime; |
||
| 158 | |||
| 159 | return $this; |
||
| 160 | } |
||
| 161 | |||
| 162 | /** |
||
| 163 | * Get editionTime |
||
| 164 | * |
||
| 165 | * @return \DateTime |
||
| 166 | */ |
||
| 167 | public function getEditionTime() |
||
| 168 | { |
||
| 169 | return $this->editionTime; |
||
| 170 | } |
||
| 171 | |||
| 172 | /** |
||
| 173 | * Set content |
||
| 174 | * |
||
| 175 | * @param string $content |
||
| 176 | * @return CUserinfoContent |
||
| 177 | */ |
||
| 178 | public function setContent($content) |
||
| 179 | { |
||
| 180 | $this->content = $content; |
||
| 181 | |||
| 182 | return $this; |
||
| 183 | } |
||
| 184 | |||
| 185 | /** |
||
| 186 | * Get content |
||
| 187 | * |
||
| 188 | * @return string |
||
| 189 | */ |
||
| 190 | public function getContent() |
||
| 191 | { |
||
| 192 | return $this->content; |
||
| 193 | } |
||
| 194 | |||
| 195 | /** |
||
| 196 | * Set id |
||
| 197 | * |
||
| 198 | * @param integer $id |
||
| 199 | * @return CUserinfoContent |
||
| 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 CUserinfoContent |
||
| 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 |
This check marks private properties in classes that are never used. Those properties can be removed.