Canada related methods.
More...
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
- Copyright
- 2017 - 2020 CaMykS Team
- 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.
◆ canada_getStatesLocales()
canada_getStatesLocales |
( |
|
$language = '' | ) |
|
Load canadian states locales.
- Parameters
-
- Returns
- void
◆ canada_getStatesCodeList()
canada_getStatesCodeList |
( |
| ) |
|
Return canadian states code list.
- Returns
- array
◆ canada_getStatesList()
canada_getStatesList |
( |
|
$params = array() | ) |
|
Return canadian states list.
- Parameters
-
- 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