2011-11-08 15:29:30 +00:00

85 lines
6.5 KiB
PHP

<?php
/**
* Séquances d'échapements pour le formulaires entreprise.
*
* S : RaisonSociale
* I : Siren/Siret
* N : Numero de rue
* R : Rue Type de voie
* D : Departement ou CodePostale
* L : Les trois derniers chiffre du codePoste
* V : Ville
* A : Code Ape
*
**/
$ordonnances = array('S', 'R', 'N', 'V', 'L', 'D', 'I');
$adrRef = array('RUE', 'AV', 'AVENUE', 'BD', 'BOULEVARD', 'R', 'ARRONDISSEMENT', 'ARR');
$wordformRS = array('SAS', 'SA', 'EURL', 'SARL', 'SCI', 'SA', 'LES', 'LE', 'LA', 'DE');
$link = array(
'S' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('10')),
'S.R' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('11', '10')),
'S.N' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('12', '10')),
'S.N.R' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('13', '12', '11', '10')),
'S.R.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('16', '14', '11', '10')),
'S.N.R.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('17', '16', '15' ,'14' ,'13', '12', '11', '10')),
'S.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('14', '10')),
'S.N.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('15', '14', '12', '10')),
'S.V.R' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('16', '14', '11', '10')),
'S.N.V.R' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('17', '15', '14', '13', '12', '11', '10')),
'S.D' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('18', '10')),
'S.R.D' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('24', '11', '36', '10')),
'S.N.D' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('19', '18', '12', '10')),
'S.D.R' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('24', '18', '11', '10')),
'S.D.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('20', '18', '14', '10')),
'S.R.D.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('21', '20', '18', '14', '11', '42', '10')),
'S.N.R.D' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('25', '24', '19', '18', '40', '12', '11', '10')),
'S.N.D.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('22', '20', '18', '14', '12', '10')),
'S.N.R.D.V' => array('acrony' => true, 'points' => true ,'radica' => true, 'normal' => true, 'split' => true, 'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('23' ,'25', '21', '24', '22', '20', '18', '14', '12', '11', '32', '31', '30', '29', '10')),
'R' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('26')),
'R.D' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('40', '26')),
'R.D.V' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('42', '40', '31', '26')),
'N.R' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('28', '27', '26')),
'N.R.D' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('34', '40')),
'N.R.D.V' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('34', '32', '42', '43', '40')),
'N.R.V' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('32', '31', '30' ,'29' ,'28', '27', '26')),
'R.V' => array('normal' => true ,'space' => true, 'double' => true, 'quorum' => true, 'max' => 1000, 'id' => array('31', '28', '26')),
'D' => array('id'=> array('44')),
'N.D' => array('id' => array('45', '44'))
);
$sequence = array(
'10' => 'S',
'11' => 'S.R',
'12' => 'S.N',
'13' => 'S.N.R',
'14' => 'S.V',
'15' => 'S.N.V',
'16' => 'S.R.V',
'17' => 'S.N.R.V',
'18' => 'S.D',
'19' => 'S.N.D',
'20' => 'S.D.V ',
'21' => 'S.R.D.V',
'22' => 'S.N.D.V',
'23' => 'S.N.R.D.V',
'24' => 'S.R.D',
'25' => 'S.N.R.D',
'26' => 'R',
'27' => 'N',
'28' => 'N.R',
'29' => 'V',
'30' => 'N.V',
'31' => 'R.V',
'32' => 'N.R.V',
'34' => 'N.R.D',
'40' => 'R.D',
'42' => 'R.D.V',
'43' => 'N.D.V',
'44' => 'D',
'45' => 'N.D'
);
?>