I would like to present my user with a list of items and the option to delete one of them. I can make the list with <a href="myurl/?delete=ID">delete this one</a>. However, how do I setup a function that recognises the get variable so that the item can be deleted.
After that, should I do something like Director::loadSelf()?
What is best practice for dealing with Get variables (as described above)?
Also, is there some built-in Ajax functionality that I could use? OPTIONAL EXTRA :-)
alternatively, you can use "urlParams" for this: Director::urlParams(), ControllerÃ¢â€ â€™urlParams
by default, each url is built like this: controller/action/ID/OtherID
(where each of the parts is an associative index in the urlParams-array)