view.php programming question

Re: view.php programming question

by Tim Hunt -
Number of replies: 0
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I think that however view.php is loaded, by about line 40, there will be a variable that contains the number you want. Probably $cm->id. If you test that, you should not have to worry about which parameters were passed in.