Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
quiz-3320695
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
quiz-3320695
Commits
e67bcb6b
Commit
e67bcb6b
authored
15 years ago
by
falcon
Browse files
Options
Downloads
Patches
Plain Diff
Fixing critical errors
parent
e8cacc56
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
question_types/matching/matching.classes.inc
+4
-4
4 additions, 4 deletions
question_types/matching/matching.classes.inc
question_types/quiz_question/quiz_question.core.inc
+2
-2
2 additions, 2 deletions
question_types/quiz_question/quiz_question.core.inc
with
6 additions
and
6 deletions
question_types/matching/matching.classes.inc
+
4
−
4
View file @
e67bcb6b
...
...
@@ -264,11 +264,11 @@ class MatchingResponse extends AbstractQuizQuestionResponse {
return
$this
->
score
;
}
/*
public function getResponse() {
return $this->answer;
public
function
getResponse
()
{
return
$this
->
answer
;
}
*/
public
function
getUserAnswers
()
{
$user_answers
=
array
();
...
...
This diff is collapsed.
Click to expand it.
question_types/quiz_question/quiz_question.core.inc
+
2
−
2
View file @
e67bcb6b
...
...
@@ -137,7 +137,7 @@ interface QuizQuestionResponse {
* @param $answer
* The answer (dependent on question type).
*/
public
function
__construct
(
$rid
,
$question
,
$answer
);
public
function
__construct
(
$rid
,
$question
,
$answer
=
NULL
);
/**
* Save the current response.
...
...
@@ -186,7 +186,7 @@ interface QuizQuestionResponse {
* @return
* An HTML string.
*/
public
function
formatReport
(
$showPoints
,
$showFeedback
);
public
function
formatReport
(
$showPoints
=
TRUE
,
$showFeedback
=
TRUE
);
/**
* Get the integer score.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment