CaMykS  1.0-20181201
 All Classes Files Functions Variables Pages
Functions
france.php.inc File Reference

France related methods. More...

Functions

 france_isValidPhoneNumber ($number, $params=array())
 
 france_getDepartmentList ($params=array())
 
 france_getDepartmentTitle ($deptNum='', $language='')
 

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.1
Date
Creation: Apr 2017
Modification: Apr 2018
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_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 (   $deptNum = '',
  $language = '' 
)

Return france department title.

Parameters
string$deptNum
string$language
Returns
string
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