Welcome, Guest
Username: Password: Remember me

TOPIC: API / Field definitions

API / Field definitions 4 months 2 weeks ago #106124

  • orvil
  • orvil's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 104
  • Thank you received: 4
  • Karma: 4
Hi there,

currently I'm looking for some API-documentation, e.g.
- how to check if a question is hidden or visible.
- if QA says there is an error
Generally an especially in application/views/admin/survey/organizeGroupsAndQuestions_view.php

Someone with a good suggestion here :) :) :) ?

I'm trying to implement what I discussed here. Things are going well, but I miss some knowledge, and I'd likt to do a feature request with code as complete as possible.

Thanks in advance!
Best regards/Beste Grüße,
O. Villani
Last Edit: 4 months 2 weeks ago by orvil.
The administrator has disabled public write access.

API / Field definitions 4 months 2 weeks ago #106127

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6222
  • Thank you received: 791
  • Karma: 238
Hi ,

maybe manual.limesurvey.org/RemoteControl_2_AP..._question_properties
get_question_properties($sSessionKey,$iQuestionID,array('attributes') ?
Denis
The administrator has disabled public write access.

API / Field definitions 4 months 2 weeks ago #106132

  • orvil
  • orvil's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 104
  • Thank you received: 4
  • Karma: 4
Thanks for the idea,

but I'm wondering about the remote approach, because I'd like to extend the organizeGroupsAndQuestions_view.php
So may be using this function will be oversized.
Best regards/Beste Grüße,
O. Villani
The administrator has disabled public write access.

API / Field definitions 4 months 2 weeks ago #106134

  • orvil
  • orvil's Avatar
  • OFFLINE
  • Expert Lime
  • Posts: 104
  • Thank you received: 4
  • Karma: 4
YIP, GOT IT!
$oTemp=QuestionAttribute::model()->getQuestionAttributes($aQuestion['qid'])

It's so easy :woohoo:
Best regards/Beste Grüße,
O. Villani
Last Edit: 4 months 2 weeks ago by orvil.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.152 seconds
Donation Image