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 | * CUserinfoDef |
||
| 10 | * |
||
| 11 | * @ORM\Table( |
||
| 12 | * name="c_userinfo_def", |
||
| 13 | * indexes={ |
||
| 14 | * @ORM\Index(name="course", columns={"c_id"}) |
||
| 15 | * } |
||
| 16 | * ) |
||
| 17 | * @ORM\Entity |
||
| 18 | */ |
||
| 19 | class CUserinfoDef |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * @var integer |
||
| 23 | * |
||
| 24 | * @ORM\Column(name="iid", type="integer") |
||
| 25 | * @ORM\Id |
||
| 26 | * @ORM\GeneratedValue |
||
| 27 | */ |
||
| 28 | private $iid; |
||
|
0 ignored issues
–
show
|
|||
| 29 | |||
| 30 | /** |
||
| 31 | * @var integer |
||
| 32 | * |
||
| 33 | * @ORM\Column(name="c_id", type="integer") |
||
| 34 | */ |
||
| 35 | private $cId; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * @var integer |
||
| 39 | * |
||
| 40 | * @ORM\Column(name="id", type="integer", nullable=true) |
||
| 41 | */ |
||
| 42 | private $id; |
||
| 43 | |||
| 44 | /** |
||
| 45 | * @var string |
||
| 46 | * |
||
| 47 | * @ORM\Column(name="title", type="string", length=80, nullable=false) |
||
| 48 | */ |
||
| 49 | private $title; |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @var string |
||
| 53 | * |
||
| 54 | * @ORM\Column(name="comment", type="text", nullable=true) |
||
| 55 | */ |
||
| 56 | private $comment; |
||
| 57 | |||
| 58 | /** |
||
| 59 | * @var boolean |
||
| 60 | * |
||
| 61 | * @ORM\Column(name="line_count", type="boolean", nullable=false) |
||
| 62 | */ |
||
| 63 | private $lineCount; |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @var boolean |
||
| 67 | * |
||
| 68 | * @ORM\Column(name="rank", type="boolean", nullable=false) |
||
| 69 | */ |
||
| 70 | private $rank; |
||
| 71 | |||
| 72 | /** |
||
| 73 | * Set title |
||
| 74 | * |
||
| 75 | * @param string $title |
||
| 76 | * @return CUserinfoDef |
||
| 77 | */ |
||
| 78 | public function setTitle($title) |
||
| 79 | { |
||
| 80 | $this->title = $title; |
||
| 81 | |||
| 82 | return $this; |
||
| 83 | } |
||
| 84 | |||
| 85 | /** |
||
| 86 | * Get title |
||
| 87 | * |
||
| 88 | * @return string |
||
| 89 | */ |
||
| 90 | public function getTitle() |
||
| 91 | { |
||
| 92 | return $this->title; |
||
| 93 | } |
||
| 94 | |||
| 95 | /** |
||
| 96 | * Set comment |
||
| 97 | * |
||
| 98 | * @param string $comment |
||
| 99 | * @return CUserinfoDef |
||
| 100 | */ |
||
| 101 | public function setComment($comment) |
||
| 102 | { |
||
| 103 | $this->comment = $comment; |
||
| 104 | |||
| 105 | return $this; |
||
| 106 | } |
||
| 107 | |||
| 108 | /** |
||
| 109 | * Get comment |
||
| 110 | * |
||
| 111 | * @return string |
||
| 112 | */ |
||
| 113 | public function getComment() |
||
| 114 | { |
||
| 115 | return $this->comment; |
||
| 116 | } |
||
| 117 | |||
| 118 | /** |
||
| 119 | * Set lineCount |
||
| 120 | * |
||
| 121 | * @param boolean $lineCount |
||
| 122 | * @return CUserinfoDef |
||
| 123 | */ |
||
| 124 | public function setLineCount($lineCount) |
||
| 125 | { |
||
| 126 | $this->lineCount = $lineCount; |
||
| 127 | |||
| 128 | return $this; |
||
| 129 | } |
||
| 130 | |||
| 131 | /** |
||
| 132 | * Get lineCount |
||
| 133 | * |
||
| 134 | * @return boolean |
||
| 135 | */ |
||
| 136 | public function getLineCount() |
||
| 137 | { |
||
| 138 | return $this->lineCount; |
||
| 139 | } |
||
| 140 | |||
| 141 | /** |
||
| 142 | * Set rank |
||
| 143 | * |
||
| 144 | * @param boolean $rank |
||
| 145 | * @return CUserinfoDef |
||
| 146 | */ |
||
| 147 | public function setRank($rank) |
||
| 148 | { |
||
| 149 | $this->rank = $rank; |
||
| 150 | |||
| 151 | return $this; |
||
| 152 | } |
||
| 153 | |||
| 154 | /** |
||
| 155 | * Get rank |
||
| 156 | * |
||
| 157 | * @return boolean |
||
| 158 | */ |
||
| 159 | public function getRank() |
||
| 160 | { |
||
| 161 | return $this->rank; |
||
| 162 | } |
||
| 163 | |||
| 164 | /** |
||
| 165 | * Set id |
||
| 166 | * |
||
| 167 | * @param integer $id |
||
| 168 | * @return CUserinfoDef |
||
| 169 | */ |
||
| 170 | public function setId($id) |
||
| 171 | { |
||
| 172 | $this->id = $id; |
||
| 173 | |||
| 174 | return $this; |
||
| 175 | } |
||
| 176 | |||
| 177 | /** |
||
| 178 | * Get id |
||
| 179 | * |
||
| 180 | * @return integer |
||
| 181 | */ |
||
| 182 | public function getId() |
||
| 183 | { |
||
| 184 | return $this->id; |
||
| 185 | } |
||
| 186 | |||
| 187 | /** |
||
| 188 | * Set cId |
||
| 189 | * |
||
| 190 | * @param integer $cId |
||
| 191 | * @return CUserinfoDef |
||
| 192 | */ |
||
| 193 | public function setCId($cId) |
||
| 194 | { |
||
| 195 | $this->cId = $cId; |
||
| 196 | |||
| 197 | return $this; |
||
| 198 | } |
||
| 199 | |||
| 200 | /** |
||
| 201 | * Get cId |
||
| 202 | * |
||
| 203 | * @return integer |
||
| 204 | */ |
||
| 205 | public function getCId() |
||
| 206 | { |
||
| 207 | return $this->cId; |
||
| 208 | } |
||
| 209 | } |
||
| 210 |
This check marks private properties in classes that are never used. Those properties can be removed.