- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
"array $aFields = null" structure
- jppazmin
- Topic Author
- Offline
- New Member
Less
More
6 years 9 months ago #155555
by jppazmin
"array $aFields = null" structure was created by jppazmin
Hi.
I need to use the export_responses_by_token function that is part of the remotecontrol_handle. the export_responses_by_token receives an array $aFields = null (this is optional). I want to know how should I define the structure of this array in order to specify what to export. I dont need everything from the DB, I just need some specific fields.
thanks in advance for your help.
I need to use the export_responses_by_token function that is part of the remotecontrol_handle. the export_responses_by_token receives an array $aFields = null (this is optional). I want to know how should I define the structure of this array in order to specify what to export. I dont need everything from the DB, I just need some specific fields.
thanks in advance for your help.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 9 months ago #155641
by DenisChenu
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.
Replied by DenisChenu on topic "array $aFields = null" structure
if field is null : export whole fields.
If it's an array : $aFields = array('token','submitdate') for example
If it's an array : $aFields = array('token','submitdate') for example
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: jppazmin
The topic has been locked.
- jppazmin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #155644
by jppazmin
Replied by jppazmin on topic "array $aFields = null" structure
Thank you DenisChenu,
Thank you but I miss specificying something... if I want execute from java code how can do this?
Thank you but I miss specificying something... if I want execute from java code how can do this?
The topic has been locked.
- jppazmin
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
6 years 9 months ago #155647
by jppazmin
Thank you DenisChenu,
Thank you but I miss specificying something... if I want execute from java code how can do this?
Replied by jppazmin on topic "array $aFields = null" structure
DenisChenu wrote: if field is null : export whole fields.
If it's an array : $aFields = array('token','submitdate') for example
Thank you DenisChenu,
Thank you but I miss specificying something... if I want execute from java code how can do this?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13907
- Thank you received: 2546
6 years 9 months ago #155661
by DenisChenu
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.
Replied by DenisChenu on topic "array $aFields = null" structure
I didn't know java, but java have arry no ?
[token','submitdate'] for example
[token','submitdate'] for example
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 topic has been locked.