I have created a "custom" authentication plugin and inside of it there is a function (
onAjaxMyfunction) that is called from a module through com_ajax.
The call "url" looks like this:
Is it possible to call another function from the same plugin through ajax (ie
I have already tried to modify the url by adding
$method = name_of_the_method at the end, but it keeps calling the function
onAjaxMyfunction instead of
I also though to create a second plugin which extends the class of the first so I can make a separate ajax call there. But by doing this I am not sure how can I extend the class of the first plugin. Both are under authentication folder.
So plugin A looks like this:
class PlgAuthenticationMycustomauth extends CMSPlugin
How should I write it to extend it? I tried the following:
class PlgAuthenticationMySecondPlugin extends PlgAuthenticationMycustomauth
but that didn't work.