Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 44 Rev 72
Line 52... Line 52...
52
            $retour .= $block_donnees->afficherPattern($chemin, $nom_fonction);
52
            $retour .= $block_donnees->afficherPattern($chemin, $nom_fonction);
53
        }
53
        }
54
        return $retour;
54
        return $retour;
55
    }
55
    }
Line -... Line 56...
-
 
56
    
-
 
57
    function attribuerContexte($chemin, $cle_contexte, $cle_donnee)
-
 
58
    {
-
 
59
        for($i = 0; $i < count($this->collection); $i++) {
-
 
60
            $block_donnees = $this->collection[$i];
-
 
61
            $donnees = null;
-
 
62
            $donnees = $block_donnees->attribuerContexte($chemin, $cle_contexte, $cle_donnee);
-
 
63
            if (isset($donnees)) {
-
 
64
                return $donnees;
-
 
65
            }
-
 
66
        }
-
 
67
        return null;
-
 
68
    }
56
    
69
    
57
    function afficher()
70
    function afficher()
58
    {
71
    {
59
        echo '<li><b>'.$this->identifiant.'</b></li>';
72
        echo '<li><b>'.$this->identifiant.'</b></li>';
60
        for($i = 0; $i < count($this->collection); $i++) {
73
        for($i = 0; $i < count($this->collection); $i++) {