@@ -76,10 +76,10 @@ discard block |
||
| 76 | 76 | public function getMessage() { |
| 77 | 77 | return $this->message; |
| 78 | 78 | } |
| 79 | - public function getDateMessage(){ |
|
| 79 | + public function getDateMessage() { |
|
| 80 | 80 | return $this->date_message; |
| 81 | 81 | } |
| 82 | - public function getUrl(){ |
|
| 82 | + public function getUrl() { |
|
| 83 | 83 | return $this->url; |
| 84 | 84 | } |
| 85 | 85 | public function getIdExpediteur() { |
@@ -94,7 +94,7 @@ discard block |
||
| 94 | 94 | public function getPseudoReceveur() { |
| 95 | 95 | return $this->pseudo_receveur; |
| 96 | 96 | } |
| 97 | - public function getValues(){ |
|
| 97 | + public function getValues() { |
|
| 98 | 98 | return ["messagerie" => $this->values]; |
| 99 | 99 | } |
| 100 | 100 | |
@@ -47,10 +47,10 @@ discard block |
||
| 47 | 47 | public function getRessourceConstruire() { |
| 48 | 48 | return $this->ressource_construire; |
| 49 | 49 | } |
| 50 | - public function getInfoBatiment(){ |
|
| 50 | + public function getInfoBatiment() { |
|
| 51 | 51 | return $this->info_batiment; |
| 52 | 52 | } |
| 53 | - public function getInfoBatimentNext(){ |
|
| 53 | + public function getInfoBatimentNext() { |
|
| 54 | 54 | return $this->info_batiment_next; |
| 55 | 55 | } |
| 56 | 56 | |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | if ($niveau > 0) { |
| 149 | 149 | $query = $dbc1->select("stockage")->from("entrepot")->where("ID_entrepot", "=", $niveau)->get(); |
| 150 | 150 | |
| 151 | - if ((is_array($query)) && (count($query) > 0)){ |
|
| 151 | + if ((is_array($query)) && (count($query) > 0)) { |
|
| 152 | 152 | foreach ($query as $obj) { |
| 153 | 153 | return $obj->stockage; |
| 154 | 154 | } |
@@ -554,7 +554,7 @@ discard block |
||
| 554 | 554 | ->where("ID_".$this->nom_batiment_sql, "=", $this->niveau_batiment) |
| 555 | 555 | ->get(); |
| 556 | 556 | |
| 557 | - if ((is_array($query)) && (count($query) > 0)){ |
|
| 557 | + if ((is_array($query)) && (count($query) > 0)) { |
|
| 558 | 558 | foreach ($query as $obj) { |
| 559 | 559 | $this->info_batiment = $xml->$nom_batiment_sql->phrase.$obj->$champ.$xml->$nom_batiment_sql->complement; |
| 560 | 560 | } |
@@ -566,7 +566,7 @@ discard block |
||
| 566 | 566 | ->where("ID_".$this->nom_batiment_sql, "=", $this->niveau_batiment+1) |
| 567 | 567 | ->get(); |
| 568 | 568 | |
| 569 | - if ((is_array($query)) && (count($query) > 0)){ |
|
| 569 | + if ((is_array($query)) && (count($query) > 0)) { |
|
| 570 | 570 | foreach ($query as $obj) { |
| 571 | 571 | $this->info_batiment_next = $xml->$nom_batiment_sql->phrase_suivant.$obj->$champ.$xml->$nom_batiment_sql->complement; |
| 572 | 572 | } |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | |
| 15 | 15 | |
| 16 | 16 | //-------------------------- GETTER ----------------------------------------------------------------------------// |
| 17 | - public function getBatiments(){ |
|
| 17 | + public function getBatiments() { |
|
| 18 | 18 | return $this->batiments; |
| 19 | 19 | } |
| 20 | 20 | |