View Issue Details

IDProjectCategoryView StatusLast Update
0000273Adventure PHP FrameworkCode-Verbesserung // Code improvementpublic2015-11-06 10:47
ReporterChristianAchatzAssigned ToChristianAchatz 
PrioritynormalSeverityfeatureReproducibilityN/A
Status resolvedResolutionfixed 
Product Version3.0.2 
Target Version3.1Fixed in Version3.1 
Summary0000273: Introduce interfaces for form controls, form filter and validator tags to improve code structure
DescriptionATM, the FormControl interface contains only little information of the structure and behaviour of a form control. Further, there is no interface describing a form validator and a form filter.

With this issue, the FormControl interface should be enhanced and a new interface for both form control validator and filter tags should be introduced.
TagsNo tags attached.
Codereferenz: ([Datei]:[Zeile])
Namespacetools

Activities

ChristianAchatz

2015-11-06 10:39

administrator   ~0000637

Introduced the following interface structure:

1) Form controls:

DomNode
  |_ FormElement
       |_ HtmlForm
       |_ FormControl
            |_ FormElementGroup

2) Filters:

Filter
  |_ FormFilter (extends APFService)

3) Validators:

FormValidator (extends APFService)

ChristianAchatz

2015-11-06 10:47

administrator   ~0000638

* Implementation done.
* Added unit test for form filters to ensure minimum coverage.
* Added migration script for method addAttributeToWhitelist() -> addAttributeToWhiteList() change.

Changes available under https://github.com/AdventurePHP/code/commit/47c0df3bc23708ef58d19afb6f6ca604e96a65a4.

Issue History

Date Modified Username Field Change
2015-11-06 08:00 ChristianAchatz New Issue
2015-11-06 08:00 ChristianAchatz Status new => assigned
2015-11-06 08:00 ChristianAchatz Assigned To => ChristianAchatz
2015-11-06 10:39 ChristianAchatz Note Added: 0000637
2015-11-06 10:47 ChristianAchatz Note Added: 0000638
2015-11-06 10:47 ChristianAchatz Status assigned => resolved
2015-11-06 10:47 ChristianAchatz Fixed in Version => 3.1
2015-11-06 10:47 ChristianAchatz Resolution open => fixed