| @@ 402-412 (lines=11) @@ | ||
| 399 | * Start date year |
|
| 400 | * @return int |
|
| 401 | */ |
|
| 402 | public function getYear() |
|
| 403 | { |
|
| 404 | $year = (int) substr($this->date_begin, 0, 4); |
|
| 405 | ||
| 406 | if (0 === $year) |
|
| 407 | { |
|
| 408 | return null; |
|
| 409 | } |
|
| 410 | ||
| 411 | return $year; |
|
| 412 | } |
|
| 413 | ||
| 414 | ||
| 415 | /** |
|
| @@ 419-429 (lines=11) @@ | ||
| 416 | ||
| 417 | ||
| 418 | ||
| 419 | public function getYear() |
|
| 420 | { |
|
| 421 | $year = (int) substr($this->date_begin, 0, 4); |
|
| 422 | ||
| 423 | if (0 === $year) |
|
| 424 | { |
|
| 425 | return null; |
|
| 426 | } |
|
| 427 | ||
| 428 | return $year; |
|
| 429 | } |
|
| 430 | ||
| 431 | ||
| 432 | public function getArchiveYear() |
|
| @@ 1788-1798 (lines=11) @@ | ||
| 1785 | } |
|
| 1786 | ||
| 1787 | ||
| 1788 | public function getYear() |
|
| 1789 | { |
|
| 1790 | $year = (int) substr($this->date_begin, 0, 4); |
|
| 1791 | ||
| 1792 | if (0 === $year) |
|
| 1793 | { |
|
| 1794 | return null; |
|
| 1795 | } |
|
| 1796 | ||
| 1797 | return $year; |
|
| 1798 | } |
|
| 1799 | ||
| 1800 | ||
| 1801 | public function getArchiveYear() |
|