New triggers

StoneFree
StoneFree
  • StoneFree
  • 8 months ago

Hello,

I've been using Joomla for a while but now I'd like to learn PHP and to develop a small component as a test.
One table will be updated with data from surveys, so I thought I could use a plugin to do it right after certain surveys are completed, as explained in your doc "Extending Community Surveys using plugin events".

I see 2 new triggers in the v4.5.0/1 changelog :
+ New event trigger onResponseBeforeSave($context, $questions, $answers)
+ New event trigger onResponseAfterSave($context, $questions, $answers)

I had a look in pluginscommunitysurveyssurveyssurveys.php but the code seems unchanged, for instance:
onResponseAfterSave($context, $survey, $isNew)

Am I looking at the wrong place or did I miss something?

Thanks!


Access to viewing replies is restricted.
Showing 1 of 1 replies
You do not have permissions for replying to this topic.
Loading...
Confirm delete? This action is irreversible and the data will be deleted permanently. Do you want to continue? Confirm Add New Delete Unpublish Cancel Import Uninstall The selected item successfully deleted.
Shondalai