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,7 → 78,6 |
|
function construire() |
{ |
if (is_null($this->identifiant_parent)) { |
$sql = $this->getSQL(); |
if (!is_null($sql)) { |
$this->openCursor($sql); |
86,17 → 85,7 |
$this->closeCursor(); |
} |
} |
} |
|
function contruireParRecursivitePlate() |
{ |
construire(); |
|
$this->$contexteRef = $this->blockdedonnees; |
|
construire(); |
} |
|
function construireParRecursivite($niveau_max, $aso_contexte = null, $id = null) |
{ |
static $niveau_courant = 0; |
132,6 → 121,15 |
} |
} |
|
function contruireParRecursivitePlate() |
{ |
construire(); |
|
$this->$contexteRef = $this->blockdedonnees; |
|
construire(); |
} |
|
function openCursor($sql, $id = null) |
{ |
$resultat = mysql_query($sql, $this->connexion); |