Subversion Repositories eFlore/Archives.eflore-consultation-v2

Rev

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

Rev 42 Rev 44
Line 42... Line 42...
42
    function recupererErreur()
42
    function recupererErreur()
43
    {
43
    {
44
        return $this->erreur;
44
        return $this->erreur;
45
    }
45
    }
Line 46... Line 46...
46
    
46
    
47
    function afficherPattern($chemin,$nom_fonction)
47
    function afficherPattern($chemin, $nom_fonction)
48
	{
48
    {
49
		//echo "boucle</br>";
49
        $retour = '';
50
		for($i=0;$i<count($this->collection);$i++)
-
 
51
		{
50
        for($i = 0; $i < count($this->collection); $i++) {
52
			$blockdonnees =$this->collection[$i];
51
            $block_donnees = $this->collection[$i];
53
			$blockdonnees->afficherPattern($chemin,$nom_fonction);			
52
            $retour .= $block_donnees->afficherPattern($chemin, $nom_fonction);
-
 
53
        }
54
		}
54
        return $retour;
Line 55... Line 55...
55
	}
55
    }
56
    
56
    
57
    function afficher()
57
    function afficher()
58
    {
58
    {
59
        echo '<li><b>'.$this->identifiant.'</b></li>';
59
        echo '<li><b>'.$this->identifiant.'</b></li>';
60
        for($i = 0; $i < count($this->collection); $i++) {
60
        for($i = 0; $i < count($this->collection); $i++) {
61
            $uneCollection = $this->collection[$i];
61
            $une_collection = $this->collection[$i];
62
            $uneCollection->afficher();
62
            $une_collection->afficher();
63
        }
63
        }
64
    }
64
    }
65
}
65
}