Where is XMLImportQuestion?

More
1 year 3 months ago #140947 by Moradzadeh
Moradzadeh created the topic: Where is XMLImportQuestion?
Hopefully this is a simple one. It would be helpful in my development of an api application to take a look at this function (XMLImportQuestion), but I can't quite find what file it's in.

Any help?

Please Log in to join the conversation.

More
1 year 3 months ago #141052 by DenisChenu
DenisChenu replied the topic: Where is XMLImportQuestion?
You can't use XMLImportQuestion directly in API, only in a plugin i think.

API : api.limesurvey.org/classes/remotecontrol...thod_import_question
code : github.com/LimeSurvey/LimeSurvey/blob/ma...port_helper.php#L350

You don't know grep to search function ?
grep -r "XMLImportQuestion" *

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 year 3 months ago #141060 by Moradzadeh
Moradzadeh replied the topic: Where is XMLImportQuestion?
thanks Denis!

I ended up finding it with a quick search of the Git repository, but yeah, I never think about grep.

I wanted to see the code to understand better how the import function worked on a question. The documentation did not cover a few questions I had. All good now.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!