mirror of
https://github.com/Karaka-Management/oms-Script.git
synced 2026-02-11 10:58:39 +00:00
fixes #22 already fixed earlier
This commit is contained in:
parent
d4313ad78d
commit
5897f0a7c6
|
|
@ -43,16 +43,6 @@ use phpOMS\Views\View;
|
||||||
* @license OMS License 1.0
|
* @license OMS License 1.0
|
||||||
* @link https://orange-management.org
|
* @link https://orange-management.org
|
||||||
* @since 1.0.0
|
* @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
|
final class ApiController extends Controller
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user