hook to PDF response export activity

  • tassoman
  • tassoman's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
  • net addicted geek administering LS
1 month 1 week ago - 1 month 1 week ago #228301 by tassoman
Your LimeSurvey version: 3.X
Hello there, I'm trying to write a plugin who lets the participant to downoad himself his response exactly as if he clicked "Export PDF" inside admin area (but he can't login to admin area).
Is there an export event to hook to? Is there any helper to call inside my plugin's method?

I was reading at PDF class but I don't think is so useful. We have also pdfWriter class but I can't understand it. Any help is appreciated.

«All your survey answers are belong to us »
Last edit: 1 month 1 week ago by tassoman.

Please Log in to join the conversation.

1 month 1 week ago #228388 by DenisChenu
Export in newDirectRequest : gitlab.com/SondagesPro/managament/respon...tAndManage.php#L1049
Another way : gitlab.com/SondagesPro/ExportAndStats/Re...portInEmail.php#L304

You know how to get the current srid (by session)

I need to construct a export system with reloadAnyResponse (with accesscode).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tassoman

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now