Public Member Functions | |
| get_current_week () | |
| get_week ($year=null, $week=null) | |
| get_week_after ($fw, $n=1) | |
| get_week_before ($fw, $n=1) | |
| get_week_containing ($date) | |
Implements the fiscal_week model.
| Fiscal_week_model::get_current_week | ( | ) |
Get the current fiscal week
| Fiscal_week_model::get_week | ( | $year = null, |
|
$week = null |
|||
| ) |
Get a fiscal week
| int | $year | |
| int | $week |
| Fiscal_week_model::get_week_after | ( | $fw, | |
$n = 1 |
|||
| ) |
Get the week that follows another
| object | $fw | |
| int | $n |
| Fiscal_week_model::get_week_before | ( | $fw, | |
$n = 1 |
|||
| ) |
Get the week that precedes another
| object | $fw | |
| int | $n |
| Fiscal_week_model::get_week_containing | ( | $date | ) |
Get the week that contains the given date
| date | $date |
1.8.5