diff options
Diffstat (limited to 'src/model/entities/Presentation.php')
| -rw-r--r-- | src/model/entities/Presentation.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/model/entities/Presentation.php b/src/model/entities/Presentation.php index 912c19e..d66bf24 100644 --- a/src/model/entities/Presentation.php +++ b/src/model/entities/Presentation.php | |||
| @@ -119,11 +119,13 @@ class Presentation{ | |||
| 119 | $this->nb_pages = $nb_pages; | 119 | $this->nb_pages = $nb_pages; |
| 120 | } | 120 | } |
| 121 | 121 | ||
| 122 | static public array $blocks = ['post_block' => 'Articles libres', 'news_block' => 'Actualités', | 122 | |
| 123 | /* -- blocs et présentations disponibles dans l'application -- */ | ||
| 124 | const BLOCKS = ['post_block' => 'Articles libres', 'news_block' => 'Actualités', | ||
| 123 | //'galery' => 'Galerie', | 125 | //'galery' => 'Galerie', |
| 124 | 'calendar' => 'Calendrier', 'form' => 'Formulaire' | 126 | 'calendar' => 'Calendrier', 'form' => 'Formulaire' |
| 125 | ]; | 127 | ]; |
| 126 | static public array $presentations = ['fullwidth' => 'Pleine largeur', 'grid' => 'Grille', 'mosaic' => 'Mosaïque' | 128 | const PRESENTATIONS = ['fullwidth' => 'Pleine largeur', 'grid' => 'Grille', 'mosaic' => 'Mosaïque' |
| 127 | //, 'carousel' => 'Carrousel' | 129 | //, 'carousel' => 'Carrousel' |
| 128 | ]; | 130 | ]; |
| 129 | static public function hasPresentation(string $block): bool | 131 | static public function hasPresentation(string $block): bool |
