Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/trunk/serveur/bibliotheque/classes/eflore_collection_block_de_donnees.class.php
12,7 → 12,7
$this->collection = array();
}
function affecterIdentifiant($identifiant)
function affecterIdentifiant($identifiant)
{
$this->identifiant = $identifiant;
}
24,9 → 24,9
$this->affecterBlockDeDonnees($block);
}
function affecterBlockDeDonnees($blockdonnees)
function affecterBlockDeDonnees($block_donnees)
{
array_push($this->collection,$blockdonnees);
array_push($this->collection,$block_donnees);
}
function recupererBlocksDeDonnees()
44,12 → 44,13
return $this->erreur;
}
function afficherPattern($chemin, $nom_fonction)
function afficherPattern($chemin, $nom_fonction, $recuperer_descendance = FALSE, $aso_parametres = array())
{
$retour = '';
for($i = 0; $i < count($this->collection); $i++) {
$block_donnees = $this->collection[$i];
$retour .= $block_donnees->afficherPattern($chemin, $nom_fonction);
$collection = $this->recupererBlocksDeDonnees();
for($i = 0; $i < count($collection); $i++) {
$block_donnees = $collection[$i];
$retour .= $block_donnees->afficherPattern($chemin, $nom_fonction, $recuperer_descendance, $aso_parametres);
}
return $retour;
}