/[openfoncier]/trunk/app/getDemandeurList.php
ViewVC logotype

Annotation of /trunk/app/getDemandeurList.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1122 - (hide annotations)
Fri Dec 21 17:22:12 2012 UTC (12 years, 1 month ago) by nhaye
File size: 1157 byte(s)
Ajout de la verification de droits lors de l'execution des scripts appelés en JS dans le formulaire de la demande.

1 nhaye 1097 <?php
2     /**
3     * Ce script a pour objet de recuperer la liste des demandeurs
4     * du dossier d'autorisation passé en paramètre
5     *
6     * @package openfoncier
7     * @version SVN : $Id$
8     */
9 nhaye 1119
10     $id_dossier_autorisation = (isset($_GET['dossier_autorisation']) ? $_GET['dossier_autorisation'] : "" );
11     require_once "../obj/utils.class.php";
12     require_once "../obj/dossier_autorisation.class.php";
13     require_once "../obj/demande.class.php";
14     $f = new utils("nohtml");
15 nhaye 1122 $f->isAccredited(array("demande","demande_modifier","demande_ajouter"), "OR");
16 nhaye 1119 $f->disableLog();
17     $valIdDemandeur = array("petitionnaire_principal" => "",
18     "delegataire" => "",
19     "petitionnaire" => array());
20     if($id_dossier_autorisation != "") {
21     $dossier_autorisation = new dossier_autorisation(
22     $id_dossier_autorisation,
23     $f->db, false);
24     $demande = new demande(']', $f->db, false);
25     $dossier_autorisation -> listeDemandeur("dossier_autorisation", $id_dossier_autorisation);
26     $demande->setValIdDemandeur($dossier_autorisation->getValIdDemandeur());
27     $demande->formSpecificContent(0);
28     }
29    
30 nhaye 1097 ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26