@@ 75-82 (lines=8) @@ | ||
72 | /** |
|
73 | * @param mixed $name |
|
74 | */ |
|
75 | public function setName($name) |
|
76 | { |
|
77 | if (strlen($name) > 35) { |
|
78 | $name = substr($name, 0, 35); |
|
79 | } |
|
80 | ||
81 | $this->name = $name; |
|
82 | } |
|
83 | } |
|
84 |
@@ 117-126 (lines=10) @@ | ||
114 | * |
|
115 | * @return $this |
|
116 | */ |
|
117 | public function setDescription1($description) |
|
118 | { |
|
119 | if (strlen($description) > 35) { |
|
120 | $description = substr($description, 0, 35); |
|
121 | } |
|
122 | ||
123 | $this->description1 = $description; |
|
124 | ||
125 | return $this; |
|
126 | } |
|
127 | ||
128 | /** |
|
129 | * @return string |
|
@@ 141-150 (lines=10) @@ | ||
138 | * |
|
139 | * @return $this |
|
140 | */ |
|
141 | public function setDescription2($description) |
|
142 | { |
|
143 | if (strlen($description) > 35) { |
|
144 | $description = substr($description, 0, 35); |
|
145 | } |
|
146 | ||
147 | $this->description2 = $description; |
|
148 | ||
149 | return $this; |
|
150 | } |
|
151 | ||
152 | /** |
|
153 | * @return string |
|
@@ 165-174 (lines=10) @@ | ||
162 | * |
|
163 | * @return $this |
|
164 | */ |
|
165 | public function setDescription3($description) |
|
166 | { |
|
167 | if (strlen($description) > 35) { |
|
168 | $description = substr($description, 0, 35); |
|
169 | } |
|
170 | ||
171 | $this->description3 = $description; |
|
172 | ||
173 | return $this; |
|
174 | } |
|
175 | ||
176 | /** |
|
177 | * @return string |
@@ 455-464 (lines=10) @@ | ||
452 | * |
|
453 | * @return $this |
|
454 | */ |
|
455 | public function setComments($comments) |
|
456 | { |
|
457 | if (strlen($comments) > 150) { |
|
458 | $comments = substr($comments, 0, 150); |
|
459 | } |
|
460 | ||
461 | $this->comments = $comments; |
|
462 | ||
463 | return $this; |
|
464 | } |
|
465 | ||
466 | /** |
|
467 | * @return string |