Issue Details (XML | Word | Printable)

Key: MDL-16124
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Penny Leach
Reporter: Penny Leach
Votes: 0
Watchers: 1
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14591

revisit supported formats to support inheritance

Created: 19/Aug/08 06:29 PM   Updated: 19/Aug/08 07:00 PM
Return to search
Component/s: Portfolio API
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Penny Leach
Security Level: None
Resolved date: 19/Aug/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
while talking about making a flickr plugin, we realised that we needed a bit smarter handling of supported formats. In this case, we would want to make it so that the caller could say it supported FORMAT_IMAGE and the fact that a portfolio plugin said FORMAT_FILE would mean a match.

Nico suggested doing a bitmask test on it but that doesn't work, because FORMAT_IMAGE < FORMAT_FILE, but not the other way around.

I am going to experiment with using actual php style inheritance and see if that sorts it.

 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Penny Leach made changes - 19/Aug/08 07:00 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]