QVCI Library 3.2
 All Classes Namespaces Functions
Static Public Member Functions | List of all members
qvci\models\Fiscal_week_model Class Reference
Inheritance diagram for qvci\models\Fiscal_week_model:

Static Public Member Functions

static get_current_week ()
 
static get_week ($year=null, $week=null)
 
static get_week_after ($fw, $n=1)
 
static get_week_before ($fw, $n=1)
 
static get_week_containing ($date)
 

Detailed Description

Implements the Fiscal_week_model.

Member Function Documentation

static qvci\models\Fiscal_week_model::get_current_week ( )
static

Get the current fiscal week

Returns
Fiscal_week_model
static qvci\models\Fiscal_week_model::get_week (   $year = null,
  $week = null 
)
static

Get a fiscal week

Parameters
int$year
int$week
Returns
Fiscal_week_model
static qvci\models\Fiscal_week_model::get_week_after (   $fw,
  $n = 1 
)
static

Get the week that follows another

Parameters
object$fw
int$n
Returns
Fiscal_week_model
static qvci\models\Fiscal_week_model::get_week_before (   $fw,
  $n = 1 
)
static

Get the week that precedes another

Parameters
object$fw
int$n
Returns
Fiscal_week_model
static qvci\models\Fiscal_week_model::get_week_containing (   $date)
static

Get the week that contains the given date

Parameters
string$date
Returns
Fiscal_week_model

The documentation for this class was generated from the following file: