[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/portfolio/ -> upgrade.txt (source)

   1  This files describes API changes in /portfolio/ portfolio system,
   2  information provided here is intended especially for developers.
   3  
   4  === 3.1 ===
   5  
   6  * The following functions, previously used (exclusively) by upgrade steps are not available
   7    anymore because of the upgrade cleanup performed for this version. See MDL-51580 for more info:
   8      - portfolio_picasa_admin_upgrade_notification()
   9      - portfolio_googledocs_admin_upgrade_notification()
  10      - portfolio_boxnet_admin_upgrade_notification()
  11  
  12  === 2.4 ===
  13  
  14  The set_callback_options function's third parameter has been changed from a file path
  15  to the component name - see MDL-33791. However, if any existing code passes a file path
  16  Moodle will attempt to obtain the component name from the file path provided. Also, the
  17  callback class should be located in the module's locallib.php file.
  18  
  19  Example of change:
  20  
  21  This:
  22  
  23  $button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), '/mod/assignment/locallib.php');
  24  
  25  Now becomes:
  26  
  27  $button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');
  28  
  29  === 2.3 ===
  30  
  31  required changes:
  32  * The following methods must now be declared static for php5 compatibility:
  33      - admin_config_form
  34      - admin_config_validation


Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1