| @@ 222-229 (lines=8) @@ | ||
| 219 | * @param null $id |
|
| 220 | * @return string|FieldsInterface |
|
| 221 | */ |
|
| 222 | public function id($id = null) { |
|
| 223 | if (is_null($id)) { |
|
| 224 | return $this->id; |
|
| 225 | } else { |
|
| 226 | $this->id = $id; |
|
| 227 | } |
|
| 228 | return $this; |
|
| 229 | } |
|
| 230 | ||
| 231 | /** |
|
| 232 | * @param null $name |
|
| @@ 235-242 (lines=8) @@ | ||
| 232 | * @param null $name |
|
| 233 | * @return string|FieldsInterface |
|
| 234 | */ |
|
| 235 | public function name($name = null) { |
|
| 236 | if (is_null($name)) { |
|
| 237 | return $this->name; |
|
| 238 | } else { |
|
| 239 | $this->name = $name; |
|
| 240 | } |
|
| 241 | return $this; |
|
| 242 | } |
|
| 243 | ||
| 244 | /** |
|
| 245 | * @param null $title |
|