As usual there is probably a simple answer to my problems, but I've been going around in circles.
Here goes :
I have a view in ExtJs with a simple button. In the handler function, I would like to call a function from my PHP backend (DocumentController.php class).
Now, I absolutely need to call a PHP function as I wish to download a document on the click of the button.
So what do I need to do in my handler function to call an DocumentController object ? Or do I have to call a plain PHP 4 page ?
Is there an equivalent to :
Thanks for your help
DocumentController myController = new DocumentController();