|
|
| Participants: |
Penny Leach
|
| Security Level: |
None
|
| Resolved date: |
19/Aug/08
|
| Affected Branches: |
MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_20_STABLE
|
|
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.
|
|
Description
|
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. |
Show » |
made changes - 19/Aug/08 07:00 PM
| Field |
Original Value |
New Value |
|
Resolution
|
|
Fixed
[ 1
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|