en | fr | Contact  | Imprimer  | Partager

Fichier FrameBeurk

Fmbk/Module/Beurk/Entite/Vue/ascendantsEntite.php

<?php //FrameBeurk V0.65 Copyright ToolOscope 2016. Licence CeCILL-C.

// affichage des noeuds liés par la relation ascendante du noeud demandé dans l'explorer

if (! isset($sufxCss))
    
$sufxCss 1;
$vide true;

// relations où le noeud est initial
$tabQuery = array('SELECT' => array('R.IdLie'),
                        
'FROM' => 'Beurk_Lien R',
                        
'WHERE' => "R.IdNoeud = '" $IdVue "' AND R.IdRelation = '" $IdRelation "'");
$result db_QUERY(Kom1_pagineRequete($tabQuery), 'SQL_CALC_FOUND_ROWS');
$NbrNoeuds db_NB_SELECTED_TOTAL();

while (list(
$IdTerminal) = db_FETCH_ROW($result)) {
    
    
$IdVue $IdTerminal;

    require(
INSTALL_PATH '/Module/Beurk/Entite/Vue/noeudEntite.php');
}
if (
$NbrNoeuds > ($DIALOG['Pagination'] * $NoPage))     // si ce n'est pas la dernière page
    
echo Beurk_boutonSuite($NoPage);                        // ajout bouton suite


© ToolOscope SASU 2010-2015. © Arnaud De Rette 2016-2018. Tous droits réservés.