diff options
| author | polo <ordipolo@gmx.fr> | 2026-05-08 18:14:38 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-05-08 18:14:38 +0200 |
| commit | 08dfc9125edf35ccbe3a6e21d9a9918c4b7fd6e9 (patch) | |
| tree | a59e8dfc92596cdd15c7fbbb1dc0967c1f28b02a /src/model/entities/Log.php | |
| parent | 69981561f83ba3a05217e75cac6c68e8dc671c45 (diff) | |
| download | cms-08dfc9125edf35ccbe3a6e21d9a9918c4b7fd6e9.tar.gz cms-08dfc9125edf35ccbe3a6e21d9a9918c4b7fd6e9.tar.bz2 cms-08dfc9125edf35ccbe3a6e21d9a9918c4b7fd6e9.zip | |
page maintenance: voir/supprimer les logs et lien vers voir les e-mails, suppression des modes de fonctionnement
Diffstat (limited to 'src/model/entities/Log.php')
| -rw-r--r-- | src/model/entities/Log.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/model/entities/Log.php b/src/model/entities/Log.php index eeb76e4..222b8db 100644 --- a/src/model/entities/Log.php +++ b/src/model/entities/Log.php | |||
| @@ -26,4 +26,13 @@ class Log | |||
| 26 | $this->date_time = new \DateTime; | 26 | $this->date_time = new \DateTime; |
| 27 | $this->success = $success; | 27 | $this->success = $success; |
| 28 | } | 28 | } |
| 29 | |||
| 30 | public function getFormatedDate(): string | ||
| 31 | { | ||
| 32 | return $this->date_time->format('d/m/Y à H\hi'); | ||
| 33 | } | ||
| 34 | public function getSuccess(): bool | ||
| 35 | { | ||
| 36 | return $this->success; | ||
| 37 | } | ||
| 29 | } | 38 | } |
