| @@ 94-105 (lines=12) @@ | ||
| 91 | /** |
|
| 92 | * template method to list available years |
|
| 93 | */ |
|
| 94 | public function getnextyear() |
|
| 95 | { |
|
| 96 | global $babDB; |
|
| 97 | ||
| 98 | if ($arr = $babDB->db_fetch_assoc($this->resYears)) |
|
| 99 | { |
|
| 100 | $this->year = bab_toHtml($arr['year']); |
|
| 101 | return true; |
|
| 102 | } |
|
| 103 | ||
| 104 | return false; |
|
| 105 | } |
|
| 106 | ||
| 107 | ||
| 108 | public function getnextfield() |
|
| @@ 288-299 (lines=12) @@ | ||
| 285 | /** |
|
| 286 | * template method to list available years |
|
| 287 | */ |
|
| 288 | public function getnextyear() |
|
| 289 | { |
|
| 290 | global $babDB; |
|
| 291 | ||
| 292 | if ($arr = $babDB->db_fetch_assoc($this->resYears)) |
|
| 293 | { |
|
| 294 | $this->year = bab_toHtml($arr['year']); |
|
| 295 | return true; |
|
| 296 | } |
|
| 297 | ||
| 298 | return false; |
|
| 299 | } |
|
| 300 | ||
| 301 | ||
| 302 | public function getnextfield() |
|