USA related methods.
More...
USA 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.
◆ usa_getStatesLocales()
usa_getStatesLocales |
( |
|
$language = '' | ) |
|
Load USA states locales.
- Parameters
-
- Returns
- void
◆ usa_getStatesCodeList()
usa_getStatesCodeList |
( |
| ) |
|
Return USA states code list.
- Returns
- array
◆ usa_getStatesList()
usa_getStatesList |
( |
|
$params = array() | ) |
|
Return USA states list.
- Parameters
-
- Returns
- array
◆ usa_getStateTitle()
usa_getStateTitle |
( |
|
$state = '' , |
|
|
|
$language = '' |
|
) |
| |
Return USA state title.
- Parameters
-
string | $state | |
string | $language | |
- Returns
- string
◆ usa_getHolidayList()
usa_getHolidayList |
( |
|
$year = null , |
|
|
|
$state = '' |
|
) |
| |
Return USA holiday list for given year.
- Parameters
-
integer | $year | |
integer | $state | |
- Returns
- array
- Todo:
- Complete with states related holiday