Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| etudiants:2014:bertrand:bugreport4 [2013/12/11 09:12] – [1- Fonctionnalités] romain | etudiants:2014:bertrand:bugreport4 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | < | ||
| ====== BugReport : plateforme de remontée d' | ====== BugReport : plateforme de remontée d' | ||
| + | |||
| + | <WRAP center round box 60%> | ||
| + | **__Documentations techniques - Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - Soumettre un report | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | |||
| + | **__Documentations de supports- Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | |||
| + | **__Documentations de tests - Sommaire :__** | ||
| + | - [[etudiants: | ||
| + | - [[etudiants: | ||
| + | </ | ||
| ===== Soumettre un rapport ===== | ===== Soumettre un rapport ===== | ||
| Ligne 12: | Ligne 31: | ||
| {{: | {{: | ||
| - | <WRAP center round box 60%> | + | ==== 3- Variables sessions ($_SESSION) ==== |
| - | **__Documentation technique - Sommaire :__** | + | |
| - | - [[etudiants: | + | |< 100% 30% 20% ->| |
| - | - [[etudiants:2014:bertrand:bugreport2|Gestion | + | ^Nom ^Type ^Descriptif ^ |
| - | - [[etudiants:2014:bertrand:bugreport3|Gestion | + | |< |
| - | - Soumettre | + | |
| - | - [[etudiants:2014:bertrand:bugreport5|Gestion des Droits]] | + | ==== 4- Vues ==== |
| - | </WRAP> | + | |
| + | === 4.1 vReport === | ||
| + | |||
| + | {{:etudiants: | ||
| + | |||
| + | <sxh php;html-script: true; | ||
| + | <form method=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | <? | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | <?php echo $data[' | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== 5- Contrôleurs ==== | ||
| + | |||
| + | === 5.1 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Soumettre un report | **Contrôleur de soumission de report**| | ||
| + | |::: | < | ||
| + | |||
| + | <sxh php; | ||
| + | public function index(){ | ||
| + | $this-> | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 5.2 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Liste des applications | ||
| + | |::: | < | ||
| + | < | ||
| + | </ | ||
| + | |::: | < | ||
| + | |||
| + | <sxh php; | ||
| + | public function refresh(){ | ||
| + | |||
| + | $appli="< | ||
| + | $applications=DAO:: | ||
| + | foreach($applications AS $apps){ | ||
| + | $appli.="< | ||
| + | } | ||
| + | |||
| + | $js=JsUtils::postAndBindTo("# | ||
| + | $js.=JsUtils:: | ||
| + | |||
| + | echo JsUtils:: | ||
| + | echo JsUtils:: | ||
| + | echo JsUtils:: | ||
| + | |||
| + | $this-> | ||
| + | } | ||
| + | |||
| + | public function useCase($params){ | ||
| + | $use=''; | ||
| + | |||
| + | foreach ($params AS $idApplication) | ||
| + | { | ||
| + | $condition=" | ||
| + | $useCase=DAO:: | ||
| + | foreach ($useCase AS $usecase){ | ||
| + | $use.="< | ||
| + | } | ||
| + | } | ||
| + | echo $use; | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 5.3 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Liste des cas d' | ||
| + | |::: | < | ||
| + | < | ||
| + | <div class=" | ||
| + | </ | ||
| + | |::: | < | ||
| + | |||
| + | <sxh php; | ||
| + | public function useCase($params){ | ||
| + | $use=''; | ||
| + | |||
| + | foreach ($params AS $idApplication) | ||
| + | { | ||
| + | $condition=" | ||
| + | $useCase=DAO:: | ||
| + | foreach ($useCase AS $usecase){ | ||
| + | $use.="< | ||
| + | } | ||
| + | } | ||
| + | echo $use; | ||
| + | |||
| + | } | ||
| + | </ | ||
| + | |||
| + | === 5.4 cReport/ | ||
| + | |||
| + | |< 100% 30% 70% >| | ||
| + | ^Fonctionnalité ^Descriptif ^ | ||
| + | | Enregistre | ||
| + | |::: | < | ||
| + | < | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | <div class=" | ||
| + | </ | ||
| + | |||
| + | <sxh php; | ||
| + | public function submitReport(){ | ||
| + | |||
| + | if($_SERVER[' | ||
| + | |||
| + | $searchEngine=new SearchEngine(); | ||
| + | |||
| + | $idApplication=$_POST[' | ||
| + | $idUseCase=$_POST[' | ||
| + | $systemMessage=$_POST[' | ||
| + | $userAction=$_POST[' | ||
| + | $description=$_POST[' | ||
| + | |||
| + | if(isset($_POST[' | ||
| + | $autreUseCase=$_POST[' | ||
| + | } | ||
| + | |||
| + | $systemMessage=$searchEngine-> | ||
| + | $userAction=$searchEngine-> | ||
| + | $description=$searchEngine-> | ||
| + | |||
| + | $user=$_SESSION[' | ||
| + | foreach ($user AS $info){ | ||
| + | $idUtilisateur=$info-> | ||
| + | } | ||
| + | |||
| + | $report=new Report(); | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | $report-> | ||
| + | |||
| + | $reportTest=DAO:: | ||
| + | |||
| + | $retour=FALSE; | ||
| + | foreach ($reportTest AS $value){ | ||
| + | if($searchEngine-> | ||
| + | $retour=TRUE; | ||
| + | } | ||
| + | } | ||
| + | |||
| + | if(!$retour){ | ||
| + | if(DAO:: | ||
| + | echo "< | ||
| + | }else{ | ||
| + | echo "< | ||
| + | } | ||
| + | }else{ | ||
| + | echo "< | ||
| + | } | ||
| + | } | ||
| + | } | ||
| + | </sxh> | ||