ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAssKprimChoiceAnswer Class Reference
+ Collaboration diagram for ilAssKprimChoiceAnswer:

Public Member Functions

 setPosition ($position)
 
 getPosition ()
 
 setAnswertext ($answertext)
 
 getAnswertext ()
 
 setImageFile ($imageFile)
 
 getImageFile ()
 
 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().

+ Here is the caller graph for this function:

◆ getCorrectness()

ilAssKprimChoiceAnswer::getCorrectness ( )

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

References $correctness.

◆ getImageFile()

ilAssKprimChoiceAnswer::getImageFile ( )

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

References $imageFile.

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

+ Here is the caller graph for this function:

◆ getImageFsDir()

ilAssKprimChoiceAnswer::getImageFsDir ( )

Definition at line 76 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 117 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), and getImageFsDir().

Referenced by assKprimChoice\handleFileUpload().

117  : string
118  {
119  return $this->getImageFsDir() . $this->getImageFile();
120  }
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getImageWebDir()

ilAssKprimChoiceAnswer::getImageWebDir ( )

Definition at line 86 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 127 of file class.ilAssKprimChoiceAnswer.php.

References getImageFile(), and getImageWebDir().

127  : string
128  {
129  return $this->getImageWebDir() . $this->getImageFile();
130  }
+ 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 122 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 102 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 132 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 107 of file class.ilAssKprimChoiceAnswer.php.

References $correctness.

107  : void
108  {
109  $this->correctness = $correctness;
110  }

◆ setImageFile()

ilAssKprimChoiceAnswer::setImageFile (   $imageFile)

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

References $imageFile.

Referenced by assKprimChoice\handleFileUpload().

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

◆ setImageFsDir()

ilAssKprimChoiceAnswer::setImageFsDir (   $imageFsDir)

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

References $imageFsDir.

Referenced by assKprimChoice\handleFileUpload().

71  : void
72  {
73  $this->imageFsDir = $imageFsDir;
74  }
+ Here is the caller graph for this function:

◆ setImageWebDir()

ilAssKprimChoiceAnswer::setImageWebDir (   $imageWebDir)

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

References $imageWebDir.

81  : void
82  {
83  $this->imageWebDir = $imageWebDir;
84  }

◆ 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 94 of file class.ilAssKprimChoiceAnswer.php.

References $thumbPrefix.

94  : void
95  {
96  $this->thumbPrefix = $thumbPrefix;
97  }

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: