1,17 → 1,39 |
<?php |
global $gBlock; |
|
class liste_nom_latin_xhtml implements iVue { |
|
protected $leBlock; |
|
function __construct($unBlock) |
{ |
$this->leBlock = $unBlock; |
} |
|
function serialiser() |
{ |
<?php |
global $gBlock; |
|
function pattern1($donnees) |
{ |
echo "<H1>Liste des noms</H1>"; |
echo "radical: $donnees['radical']</br>"; |
echo '</br>'; |
} |
|
function pattern2($donnees) |
{ |
echo "<li>Nom:$donnees['intitule.eni_intitule_nom']</li>"; |
} |
|
class liste_nom_latin_xhtml implements iVue { |
|
protected $leBlock; |
|
function __construct($unBlock) |
{ |
$this->leBlock = $unBlock; |
} |
|
function serialiser2() |
{ |
echo '<h2>Test</h3>'; |
$this->leBlock->afficherPattern('FICHE_LISTE_NOMS','pattern1'); |
echo '<OL>'; |
$this->leBlock->afficherPattern('FICHE_LISTE_NOMS>NOM_SELECTION','pattern2'); |
echo '</OL>'; |
|
} |
|
function serialiser() |
{ |
$gBlock = $this->leBlock; |
$retour = ''; |
$retour .= '<h3>'.'Test'.'</h3>'; |
37,6 → 59,6 |
} |
|
echo $retour; |
} |
} |
} |
} |
?> |