/trunk/serveur/eflore_mv/eflore_services.map |
---|
New file |
0,0 → 1,6 |
key serviceName viewName schema.xsd ratioControle style.xslt |
listenoms1 selectionnoms default_html null 0 null |
listenoms2 selectionnoms identite_html null 0 null |
serviceName serviceName viewName schema.xsd ratioControle style.xslt |
serviceName serviceName viewName schema.xsd ratioControle |
serviceName serviceName viewName schema.xsd ratioControle |
/trunk/serveur/eflore_mv/vues/default_html.php |
---|
New file |
0,0 → 1,17 |
<? |
class default_html implements iVue { |
protected $leBlock; |
function __construct($unBlock) |
{ |
$this->leBlock = $unBlock; |
} |
function serialiser() |
{ |
$this->leBlock->afficher(); |
} |
} |
?> |
/trunk/serveur/eflore_mv/vues/identite_html.php |
---|
New file |
0,0 → 1,31 |
<? |
global $gBlock; |
class identite_html implements iVue { |
protected $leBlock; |
function __construct($unBlock) |
{ |
$this->leBlock = $unBlock; |
} |
function serialiser() |
{ |
$gBlock = $this->leBlock; |
?> |
<HTML> |
<HEAD> |
</HEAD> |
<BODY> |
<H3>coucou</H3> |
<? |
$gBlock->afficher(); |
?> |
</BODY> |
</HTML> |
<? |
} |
} |
?> |
/trunk/serveur/eflore_mv/modeles/macro_elements/NOM_SELECTION.php |
---|
New file |
0,0 → 1,54 |
<? |
class NOM_SELECTION extends macroElement { |
function getSQL() |
{ |
$contexte = array(); |
if (array_key_exists('radical',$this->contexteRef) and array_key_exists('rang',$this->contexteRef) ) |
{ |
$contexte['radical']= $this->contexteRef['radical']; |
$contexte['rang']= $this->contexteRef['rang']; |
if(!empty($contexte['radical']) and !empty($contexte['rang']) ) |
{ return "SELECT nom.*, intitule.eni_intitule_nom |
FROM eflore_nom_intitule as intitule, |
eflore_nom as nom |
WHERE intitule.eni_intitule_nom like '%${contexte['radical']}%' |
and nom.en_id_nom = intitule.eni_id_nom |
and nom.en_ce_rang = ${contexte['rang']} |
"; } |
} |
if (array_key_exists('radical',$this->contexteRef) ) |
{ |
$contexte['radical']= $this->contexteRef['radical']; |
if(!empty($contexte['radical']) ) |
{ return "SELECT nom.*, intitule.eni_intitule_nom |
FROM eflore_nom_intitule as intitule, |
eflore_nom as nom |
WHERE intitule.eni_intitule_nom like '%${contexte['radical']}%' |
and nom.en_id_nom = intitule.eni_id_nom |
"; } |
} |
return; |
} |
} |
?> |
/trunk/serveur/eflore_mv/modeles/groupes_macro_elements/selectionnoms.php |
---|
New file |
0,0 → 1,41 |
<? |
class selectionnoms extends groupeMacroElement { |
function __construct($aConn) |
{ |
parent::__construct($aConn); |
} |
function construire() |
{ |
$this->dblock= new blockdedonnees('FICHE_LISTE_NOMS'); |
if (array_key_exists('radical',$_REQUEST)) { $this->dblock->ajouterDonnee('radical',$_REQUEST['radical']); } |
if (array_key_exists('rang',$_REQUEST)) { $this->dblock->ajouterDonnee('rang',$_REQUEST['rang']); } |
$this->buildContext(); |
$this->addMacroElement(); |
} |
function buildContext() |
{ |
} |
function addMacroElement() |
{ |
/*balise:NOM_SELECTION*/ |
$aMacroElement = $this->macroElementFactory('NOM_SELECTION',$this->dblock); |
$aMacroElement->construire(); |
} |
} |
?> |