23 |
"dateEvenementDocument" => "getDateEvenementDocument", |
"dateEvenementDocument" => "getDateEvenementDocument", |
24 |
"groupeInstruction" => 'getGroupeInstruction', |
"groupeInstruction" => 'getGroupeInstruction', |
25 |
"title" => 'getTitle', |
"title" => 'getTitle', |
26 |
|
'concerneERP' => 'get_concerne_erp', |
27 |
), |
), |
28 |
"fichier" => array( |
"fichier" => array( |
29 |
"filename" => "getFichierFilename", |
"filename" => "getFichierFilename", |
37 |
"dateEvenementDocument" => "getDateEvenementDocument", |
"dateEvenementDocument" => "getDateEvenementDocument", |
38 |
"groupeInstruction" => 'getGroupeInstruction', |
"groupeInstruction" => 'getGroupeInstruction', |
39 |
"title" => 'getTitle', |
"title" => 'getTitle', |
40 |
|
'concerneERP' => 'get_concerne_erp', |
41 |
), |
), |
42 |
); |
); |
43 |
|
|
2497 |
} |
} |
2498 |
} |
} |
2499 |
|
|
2500 |
|
|
2501 |
|
/** |
2502 |
|
* Récupération du champ ERP du dossier d'instruction. |
2503 |
|
* |
2504 |
|
* @return boolean |
2505 |
|
*/ |
2506 |
|
public function get_concerne_erp() { |
2507 |
|
// |
2508 |
|
if(empty($this->specificMetadata)) { |
2509 |
|
$this->getSpecificMetadata(); |
2510 |
|
} |
2511 |
|
// |
2512 |
|
return $this->specificMetadata->erp; |
2513 |
|
} |
2514 |
|
|
2515 |
|
|
2516 |
/** |
/** |
2517 |
* Cette méthode permet de stocker en attribut toutes les métadonnées |
* Cette méthode permet de stocker en attribut toutes les métadonnées |
2518 |
* nécessaire à l'ajout d'un document. |
* nécessaire à l'ajout d'un document. |
2530 |
dossier_instruction_type.code as dossier_instruction_type, |
dossier_instruction_type.code as dossier_instruction_type, |
2531 |
etat_dossier_autorisation.libelle as statut, |
etat_dossier_autorisation.libelle as statut, |
2532 |
dossier_autorisation_type.code as dossier_autorisation_type, |
dossier_autorisation_type.code as dossier_autorisation_type, |
2533 |
groupe.code as groupe_instruction |
groupe.code as groupe_instruction, |
2534 |
|
CASE WHEN dossier.erp IS TRUE |
2535 |
|
THEN 'true' |
2536 |
|
ELSE 'false' |
2537 |
|
END as erp |
2538 |
FROM ".DB_PREFIXE."dossier |
FROM ".DB_PREFIXE."dossier |
2539 |
LEFT JOIN ".DB_PREFIXE."dossier_instruction_type |
LEFT JOIN ".DB_PREFIXE."dossier_instruction_type |
2540 |
ON dossier.dossier_instruction_type = dossier_instruction_type.dossier_instruction_type |
ON dossier.dossier_instruction_type = dossier_instruction_type.dossier_instruction_type |