Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 3497 Rev 3498
Line 30... Line 30...
30
	static $is_table = false;
30
	static $is_table = false;
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 -... Line 390...
-
 
390
 
-
 
391
		if (isset($groupe_de_champs['etendu'])) {
-
 
392
		    $colonnes += array(
-
 
393
		        // champ dynamique
-
 
394
		        'etendu' => self::GenColInfo(array(
-
 
395
		            'abbrev' => 'etendu',
-
 
396
		            'nom' => '',
-
 
397
		            'extra' => 1,
-
 
398
		            'importable' => false,
-
 
399
		            'preload' => array(__CLASS__, 'champsEtendus_preload'),
-
 
400
		            'dyna' => array(__CLASS__, 'champsEtendus_ligne'))),
-
 
401
		    );
-
 
402
		}
379
 
403
		
380
		if(isset($groupe_de_champs['baseflor'])) {
404
		if(isset($groupe_de_champs['baseflor'])) {
381
			$colonnes += array(
405
			$colonnes += array(
382
				// champ dynamique
406
				// champ dynamique
383
				'baseflor' => self::GenColInfo(array(
407
				'baseflor' => self::GenColInfo(array(
Line 388... Line 412...
388
					'preload' => array(__CLASS__, 'baseflor_preload'),
412
					'preload' => array(__CLASS__, 'baseflor_preload'),
389
					'dyna' => array(__CLASS__, 'baseflor_ligne'))),
413
					'dyna' => array(__CLASS__, 'baseflor_ligne'))),
390
			);
414
			);
391
		}
415
		}
Line 392... Line -...
392
 
-
 
393
		if (isset($groupe_de_champs['etendu'])) {
-
 
394
			$colonnes += array(
-
 
395
				// champ dynamique
-
 
396
				'etendu' => self::GenColInfo(array(
-
 
397
					'abbrev' => 'etendu',
-
 
398
					'nom' => '',
-
 
399
					'extra' => 1,
-
 
400
					'importable' => false,
-
 
401
					'preload' => array(__CLASS__, 'champsEtendus_preload'),
-
 
402
					'dyna' => array(__CLASS__, 'champsEtendus_ligne'))),
-
 
403
			);
416
 
Line 404... Line -...
404
		}
-
 
405
 
-
 
406
		if (isset($groupe_de_champs['auteur'])) {
-
 
407
			$colonnes += array(
-
 
408
				'auteur' => self::GenColInfo(array(
-
 
409
					'abbrev' => 'pseudo_utilisateur',
-
 
410
					'nom' => 'Auteur',
-
 
411
					'extra' => 1,
-
 
412
				    'fonction_data' => 'formaterUrlUser',
-
 
413
					'importable' => false)),
417
		
414
			);
418
 
415
		}
419
		
Line 416... Line 420...
416
		return $colonnes;
420
		return $colonnes;
417
	}
421
	}