CaMykS  1.0-20231201
Functions
canada.php.inc File Reference

Canada related methods. More...

Functions

 canada_getStatesLocales ($language='')
 
 canada_getStatesCodeList ()
 
 canada_getStatesList ($params=array())
 
 canada_getStateTitle ($state='', $language='')
 
 canada_getHolidayList ($year=null, $state='')
 

Detailed Description

Canada related methods.

Engine / Tool Library

Author
CaMykS Team camyk.nosp@m.s.co.nosp@m.ntact.nosp@m.@gma.nosp@m.il.co.nosp@m.m
Version
1.0.2
Date
Creation: Jul 2017
Modification: Jul 2020
Note
This program is distributed as is - WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Warning
This library is not loaded with CaMykS initialisation.

Function Documentation

◆ canada_getStatesLocales()

canada_getStatesLocales (   $language = '')

Load canadian states locales.

Parameters
string$language
Returns
void

◆ canada_getStatesCodeList()

canada_getStatesCodeList ( )

Return canadian states code list.

Returns
array

◆ canada_getStatesList()

canada_getStatesList (   $params = array())

Return canadian states list.

Parameters
array$params
Returns
array

◆ canada_getStateTitle()

canada_getStateTitle (   $state = '',
  $language = '' 
)

Return canadian state title.

Parameters
string$state
string$language
Returns
string

◆ canada_getHolidayList()

canada_getHolidayList (   $year = null,
  $state = '' 
)

Return Canada holiday list for given year.

Parameters
integer$year
integer$state
Returns
array