|
|
@ -112,14 +112,14 @@ class GatewayQuestion
|
|
|
|
if ($listQuestions[$i]["type"] != "BusinessClass/TextQuestion") {
|
|
|
|
if ($listQuestions[$i]["type"] != "BusinessClass/TextQuestion") {
|
|
|
|
$idQuestion = $listQuestions[$i]["id"];
|
|
|
|
$idQuestion = $listQuestions[$i]["id"];
|
|
|
|
$possibleResponses = $gatewayPossibleResponse->getPossibleResponseByQuestion($idQuestion);
|
|
|
|
$possibleResponses = $gatewayPossibleResponse->getPossibleResponseByQuestion($idQuestion);
|
|
|
|
|
|
|
|
|
|
|
|
$tmpTabKeyword = [];
|
|
|
|
$tmpTabKeyword = [];
|
|
|
|
$tmpTabPossibleResponse = [];
|
|
|
|
$tmpTabPossibleResponse = [];
|
|
|
|
|
|
|
|
|
|
|
|
foreach ($possibleResponses as $row) {
|
|
|
|
foreach ($possibleResponses as $row) {
|
|
|
|
$tmpTabKeyword[] = $gatewayKeyword->getKeywordsContentByReference($row["id"]);
|
|
|
|
$tmpTabKeyword[] = $gatewayKeyword->getKeywordsContentByReference($row["id"]);
|
|
|
|
|
|
|
|
|
|
|
|
$tmpTabPossibleResponse[] = $row["content"];
|
|
|
|
$tmpTabPossibleResponse[] = $row["content"];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$possibleResponsesContent[] = $tmpTabPossibleResponse;
|
|
|
|
$possibleResponsesContent[] = $tmpTabPossibleResponse;
|
|
|
|
$keywordsResponses[] = $tmpTabKeyword;
|
|
|
|
$keywordsResponses[] = $tmpTabKeyword;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|