Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 10767 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 10767 Rev 10768
Línea 107... Línea 107...
107
 
107
 
108
                    }
108
                    }
109
                }
109
                }
110
                $questionsMapper = MyTrainerQuestionsMapper::getInstance($this->adapter);
110
                $questionsMapper = MyTrainerQuestionsMapper::getInstance($this->adapter);
111
                $questions = $questionsMapper->fetchOneByUuid($question);
111
                $questions = $questionsMapper->fetchOneByUuid($question);
112
                return new JsonModel([
112
                // return new JsonModel([
113
                    'success' => false,
113
                //     'success' => false,
114
                    'data' => $questions
114
                //     'data' => $questions
Línea 115... Línea 115...
115
                ]);
115
                // ]);
Línea 116... Línea 116...
116
            
116
            
117
                $rolAdmin=true;
117
                $rolAdmin=true;
Línea 124... Línea 124...
124
                $viewModel->setVariables([
124
                $viewModel->setVariables([
125
                    'formFeed'    =>  $formFeed,
125
                    'formFeed'    =>  $formFeed,
126
                    'topic_uuid' => $topic_uuid,
126
                    'topic_uuid' => $topic_uuid,
127
                    'formTopicNormal' => $formTopicNomal,
127
                    'formTopicNormal' => $formTopicNomal,
128
                    'urgent'=>$urgent,
128
                    'urgent'=>$urgent,
129
                    'question_title' => $question->title,
129
                    'question_title' => $questions->title,
130
                    'question_text' => $question->text,
130
                    'question_text' => $questions->text,
131
                    'rolAdmin'=>$rolAdmin,
131
                    'rolAdmin'=>$rolAdmin,
132
                ]);
132
                ]);
133
                return $viewModel ;
133
                return $viewModel ;