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