Commit fbd41b8
committed
Add ConfigSectionForm for managing a single INI section
Extends ConfigForm to work with one named section at a time: element
names map directly to keys within the section instead of using the
double-underscore convention. Supports creating new sections (when no
section name is passed), renaming sections (ON_RENAME), and deleting
sections (ON_DELETE). Deletion bypasses full form validation so broken
sections can always be removed. Empty sections are preserved on save
because their presence alone can indicate that a resource exists and
should use default values.1 parent 6b67493 commit fbd41b8
2 files changed
Lines changed: 754 additions & 0 deletions
File tree
- library/Icinga/Web/Form
- test/php/library/Icinga/Web/Form
0 commit comments