Add function-comments
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
This commit is contained in:
parent
9ff3d4bcf5
commit
cbb181ec5b
|
@ -302,6 +302,11 @@ class PageController extends Controller {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @NoAdminRequired
|
||||||
|
* @param int $formId
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
public function getQuestions($formId) {
|
public function getQuestions($formId) {
|
||||||
$questionList = array();
|
$questionList = array();
|
||||||
try{
|
try{
|
||||||
|
@ -319,6 +324,12 @@ class PageController extends Controller {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @NoAdminRequired
|
||||||
|
* @param int $formId
|
||||||
|
* @param int $questionId
|
||||||
|
* @return array
|
||||||
|
*/
|
||||||
public function getAnswers($formId, $questionId) {
|
public function getAnswers($formId, $questionId) {
|
||||||
$answerList = array();
|
$answerList = array();
|
||||||
try{
|
try{
|
||||||
|
|
Loading…
Reference in a new issue