13 Commits

Author SHA1 Message Date
Meirza
ccac845f11 MDL-78166 lib: Added missing class properties in portfolio
In PHP 8.2 and later, setting a value to an undeclared class property is
deprecated and emits a deprecation notice.
So we need to add missing class properties that still need to be declared.

Removing the existing $id property at portfolio_format_leap2a_writer, because
the $id only needed inside the __construct().
2023-05-27 09:28:03 +07:00
Mark Nelson
04123f6d85 MDL-36841 portfolio: ensure variables in parent function match those of childs to prevent strict standard error 2012-11-27 14:12:25 +08:00
Sam Hemelryk
18cdcdbf89 MDL-30989 portfolio: Fixed up phpdocs 2012-02-15 15:33:06 +13:00
Rossiani Wijaya
93dd2725e8 MDL-30989 portfolio: updated portfolio phpdocs. 2012-01-30 15:37:46 +08:00
Penny Leach
ebb7e78267 portfolio/leap2a MDL-23955 updated leap2a support to 2010-07 version 2010-08-28 10:00:27 +00:00
Petr Skoda
0972665f65 MDL-21249 improved php docs and adding direct access prevention in portfolio 2010-07-25 14:02:59 +00:00
David Mudrak
8e642e1f26 MDL-22212 Fixing portfolio format Leap2A strings location
I took all strings from legacy /lang/en/portfolio_format_leap2a.php plus
added a missing one for emptyselection exception.
2010-04-27 12:56:25 +00:00
Penny Leach
29fc57afa5 portfolio/leap2a MDL-21030 fixed a syntax problem in category schemes 2010-03-21 17:19:42 +00:00
Penny Leach
491fff6497 portfolio/leap MDL-21030 fixed a namespace problem in the leap2a relationships 2010-03-01 13:45:05 +00:00
Penny Leach
fba249c9c5 portfolio/leap MDL-21030 fixed a namespace problem in the leap2a relationships 2010-02-26 14:13:18 +00:00
Penny Leach
ed986e0082 portfolio: MDL-21030 added helper function to add multiple attachments 2009-12-18 13:44:23 +00:00
Penny Leach
bce9a8198f portfolio/leap2a MDL-21036 & MDL-21034 : use proper date format in leap2a, and updated forum to use it 2009-12-05 09:42:42 +00:00
Penny Leach
59dd457e4b 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
2009-12-03 14:26:37 +00:00