Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 38 → Rev 39

/trunk/serveur/bibliotheque/classes/eflore_block_de_donnees.class.php
53,6 → 53,11
{
array_push($this->collectionBlocksfils, $collection_block);
}
function recupererCollectionBlockFils()
{
return $this->collectionBlocksfils;
}
function afficherPattern($chemin, $fonction)
{
61,7 → 66,7
} else {
$etape_chemin = explode('>', $chemin);
if($chemin == $etape_chemin[0]) {
for($i = 0; $i < count($this->collectionBlocksfils); $i++) {
for ($i = 0; $i < count($this->collectionBlocksfils); $i++) {
$collection = $this->collectionBlocksfils[$i];
if ($collection->recupererIdentifiant() == $etape_chemin[1]) {
array_shift($etape_chemin);
75,12 → 80,11
function afficher()
{
echo '<ol>';
foreach($this->donnees as $key => $value)
{
foreach ($this->donnees as $key => $value) {
echo '<li>'.$key.' : '.$value;
}
echo '</ol>';
for($i = 0; $i < count($this->collectionBlocksfils); $i++) {
for ($i = 0; $i < count($this->collectionBlocksfils); $i++) {
$collection = $this->collectionBlocksfils[$i];
echo '<ol>';
$collection->afficher();