fixes #22 already fixed earlier

This commit is contained in:
Dennis Eichhorn 2020-02-14 18:42:37 +01:00
parent d4313ad78d
commit 5897f0a7c6

View File

@ -43,16 +43,6 @@ use phpOMS\Views\View;
* @license OMS License 1.0
* @link https://orange-management.org
* @since 1.0.0
*
* @todo Orange-Management/Modules#22
* Implement a way to support template settings.
* Different templates require different settings such as different type of permissions, default values, etc.
* Letting the user write config files would not be a problem (e.g. direct modification of json files) but how would this work with a settings ui where also predefined options are selectable.
* Many templates may be provided by other modules or 3rd party and not by inhouse developers.
* One solution could be to define a config layout where you can define predefined values, regex for validation etc?
* This would require a form builder that could build forms based on json objects. This however would be one large form and not split nicely over multiple forms.
* One more outer array could be used to create multiple forms.
* At the same time the application would have to register a form view/template at the beginning that could be used.
*/
final class ApiController extends Controller
{