Feature #5660
Implement support for Object Converters
Status:
Resolved
Priority:
Must have
Assignee:
Category:
Property
Target version:
Start date:
2009-12-07
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
Complexity:
Description
Now finally the Property Mapper needs to support custom Object Converters (we previously called the Property Editors). We'll need them to convert a string to DateTime, a file upload array to a Resource object and probably a few more cases.
There should be an interface for Object Converters and all classes implementing this interface should automatically be registered as converters for the Property Mapper. Each converter can be responsible for one or more types (class names), but no two converters may be responsible for the same type.
Related issues