API / Field definitions

More
4 years 1 month ago - 4 years 1 month ago #106124 by orvil
orvil created the topic: API / Field definitions
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 years 1 month ago by orvil.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #106127 by DenisChenu
DenisChenu replied the topic: API / Field definitions
Hi ,

maybe manual.limesurvey.org/RemoteControl_2_AP..._question_properties
get_question_properties($sSessionKey,$iQuestionID,array('attributes') ?
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 or Create an account to join the conversation.

More
4 years 1 month ago #106132 by orvil
orvil replied the topic: API / Field definitions
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

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #106134 by orvil
orvil replied the topic: API / Field definitions
YIP, GOT IT!
$oTemp=QuestionAttribute::model()->getQuestionAttributes($aQuestion['qid'])

It's so easy :woohoo:

Best regards/Beste Grüße,
O. Villani
Last Edit: 4 years 1 month ago by orvil.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!