ILIAS  trunk Revision v12.0_alpha-377-g3641b37b9db
ilAssQuestionSolutionComparisonExpression Class Reference
+ Collaboration diagram for ilAssQuestionSolutionComparisonExpression:

Public Member Functions

 save ()
 
 setDb (ilDBInterface $db)
 
 getQuestionId ()
 
 setQuestionId (?int $question_id)
 
 getSkillBaseId ()
 
 setSkillBaseId (?int $skill_base_id)
 
 getSkillTrefId ()
 
 setSkillTrefId (?int $skill_tref_id)
 
 getOrderIndex ()
 
 setOrderIndex (?int $order_index)
 
 getExpression ()
 
 setExpression (?string $expression)
 
 getPoints ()
 
 setPoints (?int $points)
 
 initInstanceFromArray (array $data)
 

Protected Attributes

ilDBInterface $db
 

Private Attributes

int $question_id = null
 
int $skill_base_id = null
 
int $skill_tref_id = null
 
int $order_index = null
 
string $expression = null
 
int $points = null
 

Detailed Description

Member Function Documentation

◆ getExpression()

ilAssQuestionSolutionComparisonExpression::getExpression ( )

Definition at line 99 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $expression.

Referenced by save(), and ilAssQuestionSkillAssignmentsGUI\validateSolutionCompareExpression().

+ Here is the caller graph for this function:

◆ getOrderIndex()

ilAssQuestionSolutionComparisonExpression::getOrderIndex ( )

Definition at line 89 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $order_index.

Referenced by ilAssQuestionSolutionComparisonExpressionList\add(), and save().

+ Here is the caller graph for this function:

◆ getPoints()

ilAssQuestionSolutionComparisonExpression::getPoints ( )

Definition at line 109 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $points.

Referenced by save().

+ Here is the caller graph for this function:

◆ getQuestionId()

ilAssQuestionSolutionComparisonExpression::getQuestionId ( )

Definition at line 59 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $question_id.

Referenced by save().

+ Here is the caller graph for this function:

◆ getSkillBaseId()

ilAssQuestionSolutionComparisonExpression::getSkillBaseId ( )

Definition at line 69 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $skill_base_id.

Referenced by save().

+ Here is the caller graph for this function:

◆ getSkillTrefId()

ilAssQuestionSolutionComparisonExpression::getSkillTrefId ( )

Definition at line 79 of file class.ilAssQuestionSolutionComparisonExpression.php.

References $skill_tref_id.

Referenced by save().

+ Here is the caller graph for this function:

◆ initInstanceFromArray()

ilAssQuestionSolutionComparisonExpression::initInstanceFromArray ( array  $data)

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

References setExpression(), setOrderIndex(), setPoints(), setQuestionId(), setSkillBaseId(), and setSkillTrefId().

+ Here is the call graph for this function:

◆ save()

ilAssQuestionSolutionComparisonExpression::save ( )

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

References getExpression(), getOrderIndex(), getPoints(), getQuestionId(), getSkillBaseId(), getSkillTrefId(), ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.

+ Here is the call graph for this function:

◆ setDb()

ilAssQuestionSolutionComparisonExpression::setDb ( ilDBInterface  $db)

Definition at line 54 of file class.ilAssQuestionSolutionComparisonExpression.php.

54 : void
55 {
56 $this->db = $db;
57 }

References $db.

Referenced by ilAssQuestionSolutionComparisonExpressionList\add().

+ Here is the caller graph for this function:

◆ setExpression()

ilAssQuestionSolutionComparisonExpression::setExpression ( ?string  $expression)

Definition at line 104 of file class.ilAssQuestionSolutionComparisonExpression.php.

104 : void
105 {
106 $this->expression = $expression;
107 }

References $expression.

Referenced by initInstanceFromArray().

+ Here is the caller graph for this function:

◆ setOrderIndex()

ilAssQuestionSolutionComparisonExpression::setOrderIndex ( ?int  $order_index)

Definition at line 94 of file class.ilAssQuestionSolutionComparisonExpression.php.

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

References $order_index.

Referenced by initInstanceFromArray().

+ Here is the caller graph for this function:

◆ setPoints()

ilAssQuestionSolutionComparisonExpression::setPoints ( ?int  $points)

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

114 : void
115 {
116 $this->points = $points;
117 }

References $points.

Referenced by initInstanceFromArray().

+ Here is the caller graph for this function:

◆ setQuestionId()

ilAssQuestionSolutionComparisonExpression::setQuestionId ( ?int  $question_id)

Definition at line 64 of file class.ilAssQuestionSolutionComparisonExpression.php.

64 : void
65 {
66 $this->question_id = $question_id;
67 }

References $question_id.

Referenced by ilAssQuestionSolutionComparisonExpressionList\add(), and initInstanceFromArray().

+ Here is the caller graph for this function:

◆ setSkillBaseId()

ilAssQuestionSolutionComparisonExpression::setSkillBaseId ( ?int  $skill_base_id)

Definition at line 74 of file class.ilAssQuestionSolutionComparisonExpression.php.

74 : void
75 {
76 $this->skill_base_id = $skill_base_id;
77 }

References $skill_base_id.

Referenced by ilAssQuestionSolutionComparisonExpressionList\add(), and initInstanceFromArray().

+ Here is the caller graph for this function:

◆ setSkillTrefId()

ilAssQuestionSolutionComparisonExpression::setSkillTrefId ( ?int  $skill_tref_id)

Definition at line 84 of file class.ilAssQuestionSolutionComparisonExpression.php.

84 : void
85 {
86 $this->skill_tref_id = $skill_tref_id;
87 }

References $skill_tref_id.

Referenced by ilAssQuestionSolutionComparisonExpressionList\add(), and initInstanceFromArray().

+ Here is the caller graph for this function:

Field Documentation

◆ $db

ilDBInterface ilAssQuestionSolutionComparisonExpression::$db
protected

Definition at line 23 of file class.ilAssQuestionSolutionComparisonExpression.php.

Referenced by setDb().

◆ $expression

string ilAssQuestionSolutionComparisonExpression::$expression = null
private

◆ $order_index

int ilAssQuestionSolutionComparisonExpression::$order_index = null
private

◆ $points

int ilAssQuestionSolutionComparisonExpression::$points = null
private

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

Referenced by getPoints(), and setPoints().

◆ $question_id

int ilAssQuestionSolutionComparisonExpression::$question_id = null
private

◆ $skill_base_id

int ilAssQuestionSolutionComparisonExpression::$skill_base_id = null
private

◆ $skill_tref_id

int ilAssQuestionSolutionComparisonExpression::$skill_tref_id = null
private

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