1 This files describes API changes in /portfolio/ portfolio system,
2 information provided here is intended especially for developers.
6 The set_callback_options function's third parameter has been changed from a file path
7 to the component name - see MDL-33791. However, if any existing code passes a file path
8 Moodle will attempt to obtain the component name from the file path provided. Also, the
9 callback class should be located in the module's locallib.php file.
15 $button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), '/mod/assignment/locallib.php');
19 $button->set_callback_options('assignment_portfolio_caller', array('id' => $this->cm->id, 'fileid' => $file->get_id()), 'mod_assignment');
24 * The following methods must now be declared static for php5 compatibility:
26 - admin_config_validation