19,7 → 19,7 |
// | License along with this library; if not, write to the Free Software | |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: document.class.php,v 1.9 2008-08-25 15:18:10 alexandre_tb Exp $ |
// CVS : $Id: document.class.php,v 1.10 2008-08-26 12:41:10 alexandre_tb Exp $ |
/** |
* Application projet |
* |
31,7 → 31,7 |
//Autres auteurs : |
*@author Aucun |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.9 $ |
*@version $Revision: 1.10 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
345,13 → 345,13 |
$chemin_rep_id_nom = array() ; |
if ($resultat->numRows()>0) { |
if ($ligne->pd_pere == 0) { |
return ; //array ($ligne->pd_pere); |
return array ($ligne->pd_id); |
} |
array_push ($chemin_rep_id_nom, $ligne->pd_pere) ; |
array_push ($chemin_rep_id_nom, $ligne->pd_id) ; |
$tab = document::getCheminIdRepertoire($ligne->pd_pere, $objetDB) ; |
$chemin_rep_id_nom = array_merge ($tab, $chemin_rep_id_nom) ; |
} |
return array_reverse($chemin_rep_id_nom); |
return ($chemin_rep_id_nom); |
} |
function getPath( $id_doc) |
{ |