@@ 149-158 (lines=10) @@ | ||
146 | ||
147 | // Other Functions |
|
148 | ||
149 | public function getCustomisedTitle($month, $year) |
|
150 | { |
|
151 | $date = mktime(0, 0, 0, $month, 1, $year); |
|
152 | $result = eval($this->viewTitle); |
|
153 | if ($this->number > 1) { |
|
154 | $date = mktime(0, 0, 0, $month + $this->number - 1, 1, $year); |
|
155 | $result .= $this->viewTitleDelimiter . eval($this->viewTitle); |
|
156 | } |
|
157 | return $result; |
|
158 | } |
|
159 | } |
|
160 |
@@ 285-294 (lines=10) @@ | ||
282 | ||
283 | // Other Functions |
|
284 | ||
285 | public function getCustomisedTitle($year) |
|
286 | { |
|
287 | $date = mktime(0, 0, 0, 1, 1, $year); |
|
288 | $result = eval($this->viewTitle); |
|
289 | if ($this->number > 1) { |
|
290 | $date = mktime(0, 0, 0, 1, 1, $year + $this->number - 1); |
|
291 | $result .= $this->viewTitleDelimiter . eval($this->viewTitle); |
|
292 | } |
|
293 | return $result; |
|
294 | } |
|
295 | } |
|
296 |