/[openfoncier]/trunk/services/metier/consultationmanager.php
ViewVC logotype

Diff of /trunk/services/metier/consultationmanager.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 515 by mlimic, Wed Oct 17 16:22:13 2012 UTC revision 522 by mlimic, Thu Oct 18 16:37:15 2012 UTC
# Line 1  Line 1 
1  <?php  <?php
2    
3    /*
4     * Processes requests received via net which concern consultations (by
5     * ERP or other services).
6     *
7     * @author Mirna Limic <[email protected]>
8     * Date: 18/10/2012
9     *
10     * Follow-up:
11     * Bugs:
12     */
13    
14    
15  require_once ("./metier/metiermanager.php");  require_once ("./metier/metiermanager.php");
16    
17  class ConsultationManager extends MetierManager {  class ConsultationManager extends MetierManager {
18            
19            /*
20         * Constructor.
21         *
22         * Calls it's parent constructor to establish a DB connection.
23         */    
24      function __construct() {      function __construct() {
25          parent::__construct();          parent::__construct();
26      }      }
27            
28            /*
29         * Destructor
30         *
31         * Call's its parent's destructor.
32         */    
33      function __destruct() {      function __destruct() {
34          parent::__destruct();          parent::__destruct();
35      }      }
36    
37        
38        /*
39         * Called when one of the external services sends its recommendation
40         * as a responde to a demand issued by openfoncier.
41         * @param mixed $data The array containing building number.
42         * @param string $id The ID of the dossier.
43         * @return bool 'OK'
44         */
45      function recommendation($data, $id) {      function recommendation($data, $id) {
46      /*              /*        
47          $date = $this->contents['date_retour'];          $date = $this->contents['date_retour'];

Legend:
Removed from v.515  
changed lines
  Added in v.522

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26