Proyectos de Subversion Moodle

Rev

Rev 1 | | Comparar con el anterior | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1441 ariadna 1
=== 4.5 Onwards ===
2
 
3
This file has been replaced by UPGRADING.md. See MDL-81125 for further information.
4
 
5
===
1 efrain 6
This files describes API changes in /portfolio/ portfolio system,
7
information provided here is intended especially for developers.
8
 
9
=== 4.0 ===
10
 
11
* The portfolio_boxnet has been completely removed.
12
* The portfolio_picasa has been completely removed (Picasa is discontinued since 2016).
13
 
14
=== 3.7 ===
15
 
16
* The portfolio_cron() function has been removed. Please use portfolio_cron_task scheduled task instead.
17
 
18
=== 3.1 ===
19
 
20
* The following functions, previously used (exclusively) by upgrade steps are not available
21
  anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
22
    - portfolio_picasa_admin_upgrade_notification()
23
    - portfolio_googledocs_admin_upgrade_notification()
24
    - portfolio_boxnet_admin_upgrade_notification()
25
 
26
=== 2.4 ===
27
 
28
The set_callback_options function's third parameter has been changed from a file path
29
to the component name - see MDL-33791. However, if any existing code passes a file path
30
Moodle will attempt to obtain the component name from the file path provided. Also, the
31
callback class should be located in the module's locallib.php file.
32
 
33
Example of change:
34
 
35
This:
36
 
37
$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), '/mod/assignment/locallib.php');
38
 
39
Now becomes:
40
 
41
$button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');
42
 
43
=== 2.3 ===
44
 
45
required changes:
46
* The following methods must now be declared static for php5 compatibility:
47
    - admin_config_form
48
    - admin_config_validation