22 |
* |
* |
23 |
* Calls it's parent constructor to establish a DB connection. |
* Calls it's parent constructor to establish a DB connection. |
24 |
*/ |
*/ |
25 |
function __construct() { |
public function __construct() { |
26 |
parent::__construct(); |
parent::__construct(); |
27 |
} |
} |
28 |
|
|
32 |
* |
* |
33 |
* Call's its parent's destructor. |
* Call's its parent's destructor. |
34 |
*/ |
*/ |
35 |
function __destruct() { |
public function __destruct() { |
36 |
parent::__destruct(); |
parent::__destruct(); |
37 |
} |
} |
38 |
|
|
44 |
* @param string $id The ID of the dossier. |
* @param string $id The ID of the dossier. |
45 |
* @return bool 'OK' |
* @return bool 'OK' |
46 |
*/ |
*/ |
47 |
function recommendation($data, $id) { |
public function recommendation($data, $id) { |
48 |
/* |
/* |
49 |
$date = $this->contents['date_retour']; |
$date = $this->contents['date_retour']; |
50 |
|
|