added support for dynamic content controllers

Also implemented a placeholder generator to showcase it
This commit is contained in:
Chris
2023-08-26 22:39:08 +02:00
parent c90a716d45
commit 19d7cb060e
10 changed files with 346 additions and 3 deletions

View File

@@ -10,6 +10,7 @@
class ImageController implements ContentController
{
public const ctype = 'static';
//returns all extensions registered by this type of content
public function getRegisteredExtensions(){return array('png','bmp','gif','jpg','jpeg','x-png','webp');}