ILIAS  trunk Revision v11.0_alpha-1866-gfa368f7776e
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
ilAssKprimChoiceAnswer Class Reference
+ Collaboration diagram for ilAssKprimChoiceAnswer:

Public Member Functions

 setPosition ($position)
 
 getPosition ()
 
 setAnswertext ($answertext)
 
 getAnswertext ()
 
 setImageFile (?string $imageFile)
 
 getImageFile ()
 
 setImage (?string $image)
 
 getImage ()
 
 setImageFsDir ($imageFsDir)
 
 getImageFsDir ()
 
 setImageWebDir ($imageWebDir)
 
 getImageWebDir ()
 
 setThumbPrefix ($thumbPrefix)
 
 getThumbPrefix ()
 
 setCorrectness ($correctness)
 
 getCorrectness ()
 
 getImageFsPath ()
 
 getThumbFsPath ()
 
 getImageWebPath ()
 
 getThumbWebPath ()
 

Private Attributes

 $position
 
 $answertext
 
 $imageFile
 
 $imageFsDir
 
 $imageWebDir
 
 $thumbPrefix
 
 $correctness
 

Detailed Description

Definition at line 25 of file class.ilAssKprimChoiceAnswer.php.

Member Function Documentation

◆ getAnswertext()

ilAssKprimChoiceAnswer::getAnswertext ( )

Definition at line 56 of file class.ilAssKprimChoiceAnswer.php.

References $answertext.

Referenced by assKprimChoice\addAnswer(), and assKprimChoice\getCorrectSolutionForTextOutput().

+ Here is the caller graph for this function:

◆ getCorrectness()

ilAssKprimChoiceAnswer::getCorrectness ( )

Definition at line 124 of file class.ilAssKprimChoiceAnswer.php.

References $correctness.

Referenced by assKprimChoice\getCorrectSolutionForTextOutput().

+ Here is the caller graph for this function:

◆ getImage()

ilAssKprimChoiceAnswer::getImage ( )

Definition at line 77 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile().

77  : ?string
78  {
79  return $this->getImageFile();
80  }
+ Here is the call graph for this function:

◆ getImageFile()

ilAssKprimChoiceAnswer::getImageFile ( )

Definition at line 66 of file class.ilAssKprimChoiceAnswer.php.

References $imageFile.

Referenced by getImage(), getImageFsPath(), getImageWebPath(), getThumbFsPath(), and getThumbWebPath().

66  : ?string
67  {
68  return $this->imageFile;
69  }
+ Here is the caller graph for this function:

◆ getImageFsDir()

ilAssKprimChoiceAnswer::getImageFsDir ( )

Definition at line 88 of file class.ilAssKprimChoiceAnswer.php.

References $imageFsDir.

Referenced by getImageFsPath(), and getThumbFsPath().

+ Here is the caller graph for this function:

◆ getImageFsPath()

ilAssKprimChoiceAnswer::getImageFsPath ( )

Definition at line 129 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), and getImageFsDir().

Referenced by assKprimChoice\handleFileUpload().

129  : string
130  {
131  return $this->getImageFsDir() . $this->getImageFile();
132  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getImageWebDir()

ilAssKprimChoiceAnswer::getImageWebDir ( )

Definition at line 98 of file class.ilAssKprimChoiceAnswer.php.

References $imageWebDir.

Referenced by getImageWebPath(), and getThumbWebPath().

+ Here is the caller graph for this function:

◆ getImageWebPath()

ilAssKprimChoiceAnswer::getImageWebPath ( )

Definition at line 139 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), and getImageWebDir().

139  : string
140  {
141  return $this->getImageWebDir() . $this->getImageFile();
142  }
+ Here is the call graph for this function:

◆ getPosition()

ilAssKprimChoiceAnswer::getPosition ( )

Definition at line 46 of file class.ilAssKprimChoiceAnswer.php.

References $position.

◆ getThumbFsPath()

ilAssKprimChoiceAnswer::getThumbFsPath ( )

Definition at line 134 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), getImageFsDir(), and getThumbPrefix().

+ Here is the call graph for this function:

◆ getThumbPrefix()

ilAssKprimChoiceAnswer::getThumbPrefix ( )
Returns
mixed

Definition at line 114 of file class.ilAssKprimChoiceAnswer.php.

References $thumbPrefix.

Referenced by getThumbFsPath(), and getThumbWebPath().

+ Here is the caller graph for this function:

◆ getThumbWebPath()

ilAssKprimChoiceAnswer::getThumbWebPath ( )

Definition at line 144 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), getImageWebDir(), and getThumbPrefix().

+ Here is the call graph for this function:

◆ setAnswertext()

ilAssKprimChoiceAnswer::setAnswertext (   $answertext)

Definition at line 51 of file class.ilAssKprimChoiceAnswer.php.

References $answertext.

Referenced by assKprimChoice\addAnswer().

51  : void
52  {
53  $this->answertext = $answertext;
54  }
+ Here is the caller graph for this function:

◆ setCorrectness()

ilAssKprimChoiceAnswer::setCorrectness (   $correctness)

Definition at line 119 of file class.ilAssKprimChoiceAnswer.php.

References $correctness.

119  : void
120  {
121  $this->correctness = $correctness;
122  }

◆ setImage()

ilAssKprimChoiceAnswer::setImage ( ?string  $image)

Definition at line 72 of file class.ilAssKprimChoiceAnswer.php.

References setImageFile().

72  : void
73  {
74  $this->setImageFile($image);
75  }
+ Here is the call graph for this function:

◆ setImageFile()

ilAssKprimChoiceAnswer::setImageFile ( ?string  $imageFile)

Definition at line 61 of file class.ilAssKprimChoiceAnswer.php.

References $imageFile.

Referenced by assKprimChoice\handleFileUpload(), and setImage().

61  : void
62  {
63  $this->imageFile = $imageFile;
64  }
+ Here is the caller graph for this function:

◆ setImageFsDir()

ilAssKprimChoiceAnswer::setImageFsDir (   $imageFsDir)

Definition at line 83 of file class.ilAssKprimChoiceAnswer.php.

References $imageFsDir.

Referenced by assKprimChoice\handleFileUpload().

83  : void
84  {
85  $this->imageFsDir = $imageFsDir;
86  }
+ Here is the caller graph for this function:

◆ setImageWebDir()

ilAssKprimChoiceAnswer::setImageWebDir (   $imageWebDir)

Definition at line 93 of file class.ilAssKprimChoiceAnswer.php.

References $imageWebDir.

93  : void
94  {
95  $this->imageWebDir = $imageWebDir;
96  }

◆ setPosition()

ilAssKprimChoiceAnswer::setPosition (   $position)

Definition at line 41 of file class.ilAssKprimChoiceAnswer.php.

References $position.

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

◆ setThumbPrefix()

ilAssKprimChoiceAnswer::setThumbPrefix (   $thumbPrefix)
Parameters
mixed$thumbPrefix

Definition at line 106 of file class.ilAssKprimChoiceAnswer.php.

References $thumbPrefix.

106  : void
107  {
108  $this->thumbPrefix = $thumbPrefix;
109  }

Field Documentation

◆ $answertext

ilAssKprimChoiceAnswer::$answertext
private

Definition at line 29 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getAnswertext(), and setAnswertext().

◆ $correctness

ilAssKprimChoiceAnswer::$correctness
private

Definition at line 39 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getCorrectness(), and setCorrectness().

◆ $imageFile

ilAssKprimChoiceAnswer::$imageFile
private

Definition at line 31 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getImageFile(), and setImageFile().

◆ $imageFsDir

ilAssKprimChoiceAnswer::$imageFsDir
private

Definition at line 33 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getImageFsDir(), and setImageFsDir().

◆ $imageWebDir

ilAssKprimChoiceAnswer::$imageWebDir
private

Definition at line 35 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getImageWebDir(), and setImageWebDir().

◆ $position

ilAssKprimChoiceAnswer::$position
private

Definition at line 27 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getPosition(), and setPosition().

◆ $thumbPrefix

ilAssKprimChoiceAnswer::$thumbPrefix
private

Definition at line 37 of file class.ilAssKprimChoiceAnswer.php.

Referenced by getThumbPrefix(), and setThumbPrefix().


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