Subversion Repositories eFlore/Applications.cel

Rev

Rev 3497 | Rev 3742 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 3497 Rev 3498
Line 31... Line 31...
31
 
31
 
32
	// les groupes de champs utilisables
32
	// les groupes de champs utilisables
33
	static $fieldGroups = array(
33
	static $fieldGroups = array(
34
		'standard',
34
		'standard',
-
 
35
	    'standardexport',
35
		'standardexport',
36
	    'auteur',
36
		'avance',
37
		'avance',
37
		'etendu',
38
		'etendu',
38
		'baseflor',
-
 
39
		'auteur'
39
		'baseflor'
Line 40... Line 40...
40
	);
40
	);
41
 
41
 
42
	// les données baseflor à récupérer: colonnes présentes dans cel_references
42
	// les données baseflor à récupérer: colonnes présentes dans cel_references
Line 291... Line 291...
291
			        'importable' => FALSE)),
291
			        'importable' => FALSE)),
Line 292... Line 292...
292
			    
292
			    
293
					);
293
					);
Line -... Line 294...
-
 
294
		}
-
 
295
 
-
 
296
		if (isset($groupe_de_champs['auteur'])) {
-
 
297
		    $colonnes += array(
-
 
298
		        'auteur' => self::GenColInfo(array(
-
 
299
		            'abbrev' => 'pseudo_utilisateur',
-
 
300
		            'nom' => 'Auteur',
-
 
301
		            'extra' => 1,
-
 
302
		            'fonction_data' => 'formaterUrlUser',
-
 
303
		            'importable' => false)),
-
 
304
		    );
294
		}
305
		}
295
 
306
		
296
		if(isset($groupe_de_champs['avance'])) {
307
		if(isset($groupe_de_champs['avance'])) {
297
			$colonnes += array(
308
			$colonnes += array(
298
			    'localisation_coherence' => self::GenColInfo(Array('abbrev' => 'localisation_coherence',
309
			    'localisation_coherence' => self::GenColInfo(Array('abbrev' => 'localisation_coherence',
Line 375... Line 386...
375
					'fonction_data' => null ,
386
					'fonction_data' => null ,
376
					'preload' => array(__CLASS__, 'getNomCommun_preload')))*/
387
					'preload' => array(__CLASS__, 'getNomCommun_preload')))*/
377
			);
388
			);
378
		}
389
		}
Line 379... Line -...
379
 
-
 
380
		if(isset($groupe_de_champs['baseflor'])) {
-
 
381
			$colonnes += array(
-
 
382
				// champ dynamique
-
 
383
				'baseflor' => self::GenColInfo(array(
-
 
384
					'abbrev' => 'baseflor',
-
 
385
					'nom' => '',
-
 
386
					'extra' => 1,
-
 
387
					'importable' => false,
-
 
388
					'preload' => array(__CLASS__, 'baseflor_preload'),
-
 
389
					'dyna' => array(__CLASS__, 'baseflor_ligne'))),
-
 
390
			);
-
 
391
		}
-
 
392
 
390
 
393
		if (isset($groupe_de_champs['etendu'])) {
391
		if (isset($groupe_de_champs['etendu'])) {
394
			$colonnes += array(
392
		    $colonnes += array(
395
				// champ dynamique
393
		        // champ dynamique
396
				'etendu' => self::GenColInfo(array(
394
		        'etendu' => self::GenColInfo(array(
Line 401... Line 399...
401
					'preload' => array(__CLASS__, 'champsEtendus_preload'),
399
		            'preload' => array(__CLASS__, 'champsEtendus_preload'),
402
					'dyna' => array(__CLASS__, 'champsEtendus_ligne'))),
400
		            'dyna' => array(__CLASS__, 'champsEtendus_ligne'))),
403
			);
401
		    );
404
		}
402
		}
Line 405... Line 403...
405
 
403
		
406
		if (isset($groupe_de_champs['auteur'])) {
404
		if(isset($groupe_de_champs['baseflor'])) {
-
 
405
			$colonnes += array(
407
			$colonnes += array(
406
				// champ dynamique
408
				'auteur' => self::GenColInfo(array(
407
				'baseflor' => self::GenColInfo(array(
409
					'abbrev' => 'pseudo_utilisateur',
408
					'abbrev' => 'baseflor',
410
					'nom' => 'Auteur',
409
					'nom' => '',
411
					'extra' => 1,
410
					'extra' => 1,
-
 
411
					'importable' => false,
412
				    'fonction_data' => 'formaterUrlUser',
412
					'preload' => array(__CLASS__, 'baseflor_preload'),
413
					'importable' => false)),
413
					'dyna' => array(__CLASS__, 'baseflor_ligne'))),
414
			);
414
			);
-
 
415
		}
-
 
416
 
-
 
417
		
-
 
418
 
415
		}
419
		
416
		return $colonnes;
420
		return $colonnes;
Line 417... Line 421...
417
	}
421
	}
418
 
422