I use moodle from Laravel through LTI.
I had to pass a specific file path from Laravel to Moodle through the LTI Launch Request, i appended to the parameters.
Now i would like to access that variable in the Moodle's LTI content which is a Turnitin Assignment.
With firebug i can see in the Tool.php the reference_file_path variable is avaliable in the request header but dont know how to access it in the TurnitinAssignment/view.php:
I tried to read as :
$post['reference_file_path'] = optional_param('reference_file_path',0, PARAM_RAW);
but in the View.php it does not avaliable Do you have any idea how to access it?
Thank you in advance