|
|
| Participants: |
Mathieu Petit-Clair
|
| Security Level: |
None
|
| Resolved date: |
18/Mar/08
|
| Affected Branches: |
MOODLE_19_STABLE, MOODLE_20_STABLE
|
| Fixed Branches: |
MOODLE_19_STABLE
|
|
The current API for tags isn't optimal. Some operations are done in tag/lib.php, some in blog/lib.php, some in blocks/... This aims to clean up the current API, makit it easier to expend the tags functions in moodle.
I'm sending a first file, containing only documentation and prototypes. I'm trying to come up with something that does the job, but is as minimal as possible.
Missing from this file are:
* tag_selection_box(...): a function to display the "tag selection box", so that all forms display the same interface to the user (which is currently not the case: user interests and blog posts have different ways of getting tags)
* tag_get_links(...): a function to return the tags along with the html links to them
* ...?
|
|
Description
|
The current API for tags isn't optimal. Some operations are done in tag/lib.php, some in blog/lib.php, some in blocks/... This aims to clean up the current API, makit it easier to expend the tags functions in moodle.
I'm sending a first file, containing only documentation and prototypes. I'm trying to come up with something that does the job, but is as minimal as possible.
Missing from this file are:
* tag_selection_box(...): a function to display the "tag selection box", so that all forms display the same interface to the user (which is currently not the case: user interests and blog posts have different ways of getting tags)
* tag_get_links(...): a function to return the tags along with the html links to them
* ...?
|
Show » |
committed 4 files to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 18/Mar/08 05:29 PM
MDL-13594 - Fixes a display problem with "flagged" tags, code cleanup, other small fixes.
MDL-13434 - Cleaned up a bit more the api
MDL-13687 - If a manual relation is added to a tag, the opposition relation will be added at the same time.
|
|
|
committed 4 files to 'Moodle CVS' - 18/Mar/08 05:32 PM
Merge from 1.9
MDL-13594 - Fixes a display problem with "flagged" tags, code cleanup, other small fixes.
MDL-13434 - Cleaned up a bit more the api
MDL-13687 - If a manual relation is added to a tag, the opposition relation will be added at the same time.
|
|
|
committed 1 file to 'Moodle CVS' on branch 'MOODLE_19_STABLE' - 19/Mar/08 05:11 PM
MDL-13434 Addslashes removed, is added whenever necessary in tag/lib.php.
|
|
|
committed 1 file to 'Moodle CVS' - 19/Mar/08 05:12 PM
MDL-13434 Addslashes removed, is added whenever necessary in tag/lib.php.
|
|
|
|