Subversion Repositories eFlore/Archives.eflore-consultation-v2

Compare Revisions

Ignore whitespace Rev 139 → Rev 140

/trunk/serveur/bibliotheque/classes/eribo_macro_element.class.php
36,7 → 36,7
if ($collection->recupererIdentifiant() == $this->identifiant_parent) {
return $collection->recupererBlocksDeDonnees();
} else if (is_object($un_block_donnees->recupererCollectionBlockFils())) {
return $this->attribuerContexteRef($un_block_donnees->recupererCollectionBlockFils());
$this->attribuerContexteRef($un_block_donnees->recupererCollectionBlockFils());
}
}
}
78,25 → 78,14
function construire()
{
if (is_null($this->identifiant_parent)) {
$sql = $this->getSQL();
if (!is_null($sql)) {
$this->openCursor($sql);
while ($this->fetch());
$this->closeCursor();
}
}
$sql = $this->getSQL();
if (!is_null($sql)) {
$this->openCursor($sql);
while ($this->fetch());
$this->closeCursor();
}
}
function contruireParRecursivitePlate()
{
construire();
$this->$contexteRef = $this->blockdedonnees;
construire();
}
function construireParRecursivite($niveau_max, $aso_contexte = null, $id = null)
{
static $niveau_courant = 0;
131,6 → 120,15
}
}
}
function contruireParRecursivitePlate()
{
construire();
$this->$contexteRef = $this->blockdedonnees;
construire();
}
function openCursor($sql, $id = null)
{