ILIAS  trunk Revision v11.0_alpha-2662-g519ff7d528f
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink Class Reference

a suggested solution that links to some other object/place More...

+ Inheritance diagram for ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink:
+ Collaboration diagram for ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink:

Public Member Functions

 __construct (int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update, string $type, string $internal_link)
 
 getType ()
 
 getStorableValue ()
 
 getInternalLink ()
 
 withInternalLink (string $internal_link)
 
- Public Member Functions inherited from ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution
 __construct (int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update)
 
 getType ()
 
 getStorableValue ()
 
 getId ()
 
 withId (int $id)
 
 getQuestionId ()
 
 withQuestionId (int $question_id)
 
 getImportId ()
 
 withImportId (string $import_id)
 
 getSubquestionIndex ()
 
 withSubquestionIndex (int $subquestion_index)
 
 getLastUpdate ()
 
 isOfTypeFile ()
 
 isOfTypeLink ()
 

Protected Attributes

string $type
 
string $internal_link
 
- Protected Attributes inherited from ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution
int $id
 
int $question_id
 
int $subquestion_index
 
string $import_id
 
DateTimeImmutable $last_update
 

Additional Inherited Members

- Data Fields inherited from ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolution
const TYPE_LM = 'lm'
 
const TYPE_LM_CHAPTER = 'st'
 
const TYPE_LM_PAGE = 'pg'
 
const TYPE_GLOSARY_TERM = 'git'
 
const TYPE_FILE = 'file'
 
const TYPES
 

Detailed Description

a suggested solution that links to some other object/place

Author
Nils Haagen nils..nosp@m.haag.nosp@m.en@co.nosp@m.ncep.nosp@m.ts-an.nosp@m.d-tr.nosp@m.ainin.nosp@m.g.de

Definition at line 28 of file SuggestedSolutionLink.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::__construct ( int  $id,
int  $question_id,
int  $subquestion_index,
string  $import_id,
\DateTimeImmutable  $last_update,
string  $type,
string  $internal_link 
)

Definition at line 33 of file SuggestedSolutionLink.php.

References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\$internal_link, ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\$type, and ILIAS\GlobalScreen\Provider\__construct().

+ Here is the call graph for this function:

Member Function Documentation

◆ getInternalLink()

ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::getInternalLink ( )

◆ getStorableValue()

ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::getStorableValue ( )

Definition at line 52 of file SuggestedSolutionLink.php.

References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\getInternalLink().

+ Here is the call graph for this function:

◆ getType()

ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::getType ( )

◆ withInternalLink()

ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::withInternalLink ( string  $internal_link)

Definition at line 61 of file SuggestedSolutionLink.php.

References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink\$internal_link.

61  : static
62  {
63  $clone = clone $this;
64  $clone->internal_link = $internal_link;
65  return $clone;
66  }

Field Documentation

◆ $internal_link

◆ $type

string ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionLink::$type
protected

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