Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 27 Rev 28
Line 1... Line 1...
1
<?	
1
<?php
2
		
-
 
3
		class selectionnoms extends groupeMacroElement {
2
class selectionnoms extends groupeMacroElement {
4
 
-
 
5
		
-
 
6
			function __construct($aConn)
3
    function __construct($aConn)
7
			{
4
    {
8
				parent::__construct($aConn);
5
        parent::__construct($aConn);
9
			}
6
    }
Line 10... Line 7...
10
			
7
    
11
			function construire()
8
    function construire()
12
			{
9
    {
Line 13... Line 10...
13
				$this->dblock= new blockdedonnees('FICHE_LISTE_NOMS');
10
        $this->dblock= new blockdedonnees('FICHE_LISTE_NOMS');
14
				
-
 
15
	   		if (array_key_exists('radical',$_REQUEST)) { $this->dblock->ajouterDonnee('radical',$_REQUEST['radical']); }
11
        
-
 
12
        if (array_key_exists('radical',$_REQUEST)) {
Line -... Line 13...
-
 
13
            $this->dblock->ajouterDonnee('radical',$_REQUEST['radical']);
-
 
14
        }
-
 
15
        
Line 16... Line 16...
16
	
16
        if (array_key_exists('rang',$_REQUEST)) {
17
	   		if (array_key_exists('rang',$_REQUEST)) { $this->dblock->ajouterDonnee('rang',$_REQUEST['rang']); }
17
            $this->dblock->ajouterDonnee('rang',$_REQUEST['rang']);
18
	
18
        }
Line 26... Line 26...
26
			
26
        
Line 27... Line 27...
27
			}
27
    }
28
			
28
    
29
			function addMacroElement()
-
 
30
			{
29
    function addMacroElement()
31
				
30
    {
32
	   	/*balise:NOM_SELECTION*/
31
    /*balise:NOM_SELECTION*/
33
	   	$aMacroElement = $this->macroElementFactory('NOM_SELECTION',$this->dblock);
-
 
34
	   	$aMacroElement->construire();
32
    $aMacroElement = $this->macroElementFactory('NOM_SELECTION',$this->dblock);
Line 35... Line 33...
35
	
33
    $aMacroElement->construire();
36
			}
-
 
37
		
34
    }
38
		}
-
 
39
		
35