'FU', 'Compact' => 'CO', 'CreditRecommendation' => 'CR'); public function __construct($countryCode, $TestIndication) { } public function setReport($companyId, $type, $pays, $reportSerial) { $report = new Application_Model_RapportsGiants(); $datas = array('companyId' => $companyId, 'date' => date('Y-m-d'), 'pays' => $pays, 'type' => $this->enumerations[$type], 'report' => $reportSerial ); $report->insert($datas); return ($reportSerial); } public function getRapportExist($companyId, $type) { $rapports = new Application_Model_RapportsGiants(); $id = $rapports->getReportByIdAndType($companyId, $this->enumerations[$type]); return ($id); } } ?>