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

France related methods. More...

Functions

 france_isValidPhoneNumber ($number, $params=array())
 
 france_getDepartmentList ($params=array())
 
 france_getDepartmentTitle ($deptNum='', $language='')
 
 france_getSocioProfessionalCategoryList ($params=array())
 
 france_getSocioProfessionalCategoryTitle ($category='', $language='')
 
 france_getHolidayList ($year=null)
 

Detailed Description

France 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.3
Date
Creation: Apr 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

◆ france_isValidPhoneNumber()

france_isValidPhoneNumber (   $number,
  $params = array() 
)

Check if given phone number is valid for french phone numbers.

Parameters
string$number
array$params- Available parameters are
boolean mobileOnly
Returns
boolean

◆ france_getDepartmentList()

france_getDepartmentList (   $params = array())

Return france department list.

Parameters
array$params- Available parameters are
string language
integer corsica - 1 : one line "20" / 2 : two lines "2A" & "2B"
integer monaco - 0 : off / 1 : on
integer domtom - 0 : off / 1 : on
Returns
array

◆ france_getDepartmentTitle()

france_getDepartmentTitle (   $deptNum = '',
  $language = '' 
)

Return france department title.

Parameters
string$deptNum
string$language
Returns
string

◆ france_getSocioProfessionalCategoryList()

france_getSocioProfessionalCategoryList (   $params = array())

Return france socioprofessional categories.

Parameters
array$params- Available parameters are
string language
integer groups - 0 : no / 1 : simple 2 : unselectable for select
integer addNone - 0 : off / 1 : none 2 : void
integer addNumber - 0 : off / 1 : on
Returns
array

◆ france_getSocioProfessionalCategoryTitle()

france_getSocioProfessionalCategoryTitle (   $category = '',
  $language = '' 
)

Return france socioprofessional category title.

Parameters
string$category
string$language
Returns
string

◆ france_getHolidayList()

france_getHolidayList (   $year = null)

Return France holiday list for given year.

Parameters
integer$year
Returns
array