diff options
| author | polo <ordipolo@gmx.fr> | 2026-07-02 00:01:31 +0200 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2026-07-02 00:01:31 +0200 |
| commit | 0fa852ee4e9c3060ba7fc0daf4b08a44ea151f7f (patch) | |
| tree | aa41e7a0a2e41649dea66114e73a26574a042b85 /src/model/Blocks.php | |
| parent | 9021dc699874c46b72dcbe019ec1a4408fbf6d70 (diff) | |
| download | cms-0fa852ee4e9c3060ba7fc0daf4b08a44ea151f7f.tar.gz cms-0fa852ee4e9c3060ba7fc0daf4b08a44ea151f7f.tar.bz2 cms-0fa852ee4e9c3060ba7fc0daf4b08a44ea151f7f.zip | |
entité Presentation, MAJ filtre ViewController::SPECIAL_PAGES, table node_data non allégée pour l'instant
Diffstat (limited to 'src/model/Blocks.php')
| -rw-r--r-- | src/model/Blocks.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/model/Blocks.php b/src/model/Blocks.php deleted file mode 100644 index 786ec74..0000000 --- a/src/model/Blocks.php +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | <?php | ||
| 2 | // src/model/Blocks.php | ||
| 3 | |||
| 4 | class Blocks{ | ||
| 5 | static public array $blocks = ['post_block' => 'Articles libres', 'news_block' => 'Actualités', | ||
| 6 | //'galery' => 'Galerie', | ||
| 7 | 'calendar' => 'Calendrier', 'form' => 'Formulaire']; | ||
| 8 | |||
| 9 | static public array $presentations = ['fullwidth' => 'Pleine largeur', 'grid' => 'Grille', 'mosaic' => 'Mosaïque' | ||
| 10 | //, 'carousel' => 'Carrousel' | ||
| 11 | ]; | ||
| 12 | |||
| 13 | static public function hasPresentation(string $block): bool | ||
| 14 | { | ||
| 15 | return in_array($block, ['post_block', 'news_block']) ? true : false; | ||
| 16 | } | ||
| 17 | } \ No newline at end of file | ||
