ILIAS  trunk Revision v11.0_alpha-1811-gd2d5443e411
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssLacQuestionProvider Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Collaboration diagram for ilAssLacQuestionProvider:

Public Member Functions

 setQuestionId ($questionId)
 
 setQuestion (iQuestionCondition $question)
 
 getQuestion ()
 

Protected Attributes

 $question
 
 $questionId
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Class ilParserQuestionProvider

Date: 04.12.13 Time: 15:04

Author
Thomas Joußen tjous.nosp@m.sen@.nosp@m.datab.nosp@m.ay.d.nosp@m.e

Definition at line 26 of file ilAssLacQuestionProvider.php.

Member Function Documentation

◆ getQuestion()

ilAssLacQuestionProvider::getQuestion ( )

Definition at line 54 of file ilAssLacQuestionProvider.php.

References $question, assQuestion\instantiateQuestion(), and null.

54  : assQuestion
55  {
56  if ($this->question === null && $this->questionId) {
57  $this->question = assQuestion::instantiateQuestion($this->questionId);
58  }
59 
60  return $this->question;
61  }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
static instantiateQuestion(int $question_id)
+ Here is the call graph for this function:

◆ setQuestion()

ilAssLacQuestionProvider::setQuestion ( iQuestionCondition  $question)
Parameters
iQuestionCondition$question

Definition at line 49 of file ilAssLacQuestionProvider.php.

References $question.

49  : void
50  {
51  $this->question = $question;
52  }

◆ setQuestionId()

ilAssLacQuestionProvider::setQuestionId (   $questionId)
Parameters
integer$questionId

Definition at line 41 of file ilAssLacQuestionProvider.php.

References $questionId.

41  : void
42  {
43  $this->questionId = $questionId;
44  }

Field Documentation

◆ $question

ilAssLacQuestionProvider::$question
protected

Definition at line 31 of file ilAssLacQuestionProvider.php.

Referenced by getQuestion(), and setQuestion().

◆ $questionId

ilAssLacQuestionProvider::$questionId
protected

Definition at line 36 of file ilAssLacQuestionProvider.php.

Referenced by setQuestionId().


The documentation for this class was generated from the following file: