mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
portfolio: MDL-21030 - leap2a portfolio format support.
This commit includes: - leap2a portfolio format, and xml writer - proof of concept implementation in forum and assignment modules - a lot of refactoring of the portfolio formats in general: - addition of "abstract" formats - this is necessary for plugins to be able to support groups of formats - addition of the idea of portfolio formats conflicting with eachother - eg richhtml & plainhtml it touches modules other than assignment and forum, because the format api changed and now each place in moodle that exports portfolio content has to deal with the formats it supports slightly differently. At the moment the Mahara portfolio still doesn't support this format, because I haven't done the Mahara side yet. The "file download" plugin supports it though. Still todo: - Add support for the other places in Moodle (glossary, data, etc) - Write tests, once the rest of the portfolio tests have been updated to use the new DB mocking stuff - Fix a bunch of TODOs
This commit is contained in:
parent
9cbced1d2e
commit
59dd457e4b
26 changed files with 994 additions and 111 deletions
|
@ -216,7 +216,7 @@ $string['pagesize'] = 'Entries per page';
|
|||
$string['participants'] = 'Participants';
|
||||
$string['picture'] = 'Picture';
|
||||
$string['pleaseaddsome'] = 'Please create some below or <a href=\"$a\">choose a predefined set</a> to get started.';
|
||||
$string['portfolionotfile'] = 'Export to a portfolio rather than a file (csv only)';
|
||||
$string['portfolionotfile'] = 'Export to a portfolio rather than a file (csv and leap2a only)';
|
||||
$string['presetinfo'] = 'Saving as a preset will publish this template. Other users may be able to use it in their databases.';
|
||||
$string['presets'] = 'Presets';
|
||||
$string['radiobutton'] = 'Radio buttons';
|
||||
|
|
|
@ -51,6 +51,7 @@ $string['format_image'] = 'Image';
|
|||
$string['format_mbkp'] = 'Moodle Backup Format';
|
||||
$string['format_video'] = 'Video';
|
||||
$string['format_text'] = 'Plain Text';
|
||||
$string['format_leap2a'] = 'LEAP2A portfolio format';
|
||||
$string['hidden'] = 'Hidden';
|
||||
$string['highfilesizethreshold'] = 'High transfer filesize';
|
||||
$string['highfilesizethresholddesc'] = 'Filesizes over this threshold will be considered to take a high amount of time to transfer';
|
||||
|
|
10
lang/en_utf8/portfolio_format_leap2a.php
Normal file
10
lang/en_utf8/portfolio_format_leap2a.php
Normal file
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
$string['entryalreadyexists'] = 'You tried to add a LEAP2A entry with an id ($a) that already exists in this feed';
|
||||
$string['feedtitle'] = 'LEAP2A export from Moodle for $a';
|
||||
$string['invalidentryfield'] = 'You tried to set an entry field that didn\'t exist ($a) or you can\'t set directly';
|
||||
$string['invalidentryid'] = 'You tried to access an entry by an id that didn\'t exist ($a)';
|
||||
$string['missingfield'] = 'Required LEAP2A entry field $a missing';
|
||||
$string['nonexistantlink'] = 'A LEAP2A entry ($a->from) tried to link to a non existing entry ($a->to) with rel $a->rel';
|
||||
$string['overwritingselection'] = 'Overwriting the original type of an entry ($a) to selection in make_selection';
|
||||
$string['selflink'] = 'A LEAP2A entry ($a->id) tried to link to itself with rel $a->rel';
|
Loading…
Add table
Add a link
Reference in a new issue