Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Dev: More phpdoc for retrieveAnswers
- Loading branch information
1 parent
4f56537
commit 3c4c4dc
Showing
1 changed file
with
14 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -73,8 +73,20 @@ function setNoAnswerMode($thissurvey) | |
* and a list of the question/answer fieldnames associated. It is called from | ||
* question.php, group.php, survey.php or preview.php | ||
* | ||
* @param mixed $ia | ||
* @return mixed | ||
* @param array $ia Details of $ia can be found at top of this file | ||
* @return array Array like [array $qanda, array $inputnames] where | ||
* $qanda has elements [ | ||
* $qtitle : string? what's the content? | ||
* $answer ? | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
olleharstedt
Author
Contributor
|
||
* 'help' : string | ||
* $display : ? | ||
* $qid : integer | ||
* $ia[2] | ||
* $ia[5] = group id : int | ||
* $ia[1] = fieldname : string | ||
* ] | ||
* and $inputnames is ? used for hiddenfieldnames and upload file? | ||
* | ||
*/ | ||
function retrieveAnswers($ia) | ||
{ | ||
|
I think $answer is {ANSWERS} : https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/SurveyRuntimeHelper.php#L1561
In this function, i search all parts (but don't do a god phpdoc 😇 )
Are you sure for $qanda[0] ? I think it's another array : https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/SurveyRuntimeHelper.php#L1562
But maybe qanda is not always the same .... 😩