ILIAS  release_9 Revision v9.13-25-g2c18ec4c24f
ILIAS\TA\Questions\assSuggestedSolutionLink Class Reference

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

+ Inheritance diagram for ILIAS\TA\Questions\assSuggestedSolutionLink:
+ Collaboration diagram for ILIAS\TA\Questions\assSuggestedSolutionLink:

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\TA\Questions\assQuestionSuggestedSolution
 __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\TA\Questions\assQuestionSuggestedSolution
int $id
 
int $question_id
 
int $subquestion_index
 
string $import_id
 
DateTimeImmutable $last_update
 

Additional Inherited Members

- Data Fields inherited from ILIAS\TA\Questions\assQuestionSuggestedSolution
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 27 of file assSuggestedSolutionLink.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\TA\Questions\assSuggestedSolutionLink::__construct ( int  $id,
int  $question_id,
int  $subquestion_index,
string  $import_id,
\DateTimeImmutable  $last_update,
string  $type,
string  $internal_link 
)

Member Function Documentation

◆ getInternalLink()

ILIAS\TA\Questions\assSuggestedSolutionLink::getInternalLink ( )

Definition at line 56 of file assSuggestedSolutionLink.php.

References ILIAS\TA\Questions\assSuggestedSolutionLink\$internal_link.

Referenced by ILIAS\TA\Questions\assSuggestedSolutionLink\getStorableValue().

56  : string
57  {
58  return $this->internal_link;
59  }
+ Here is the caller graph for this function:

◆ getStorableValue()

ILIAS\TA\Questions\assSuggestedSolutionLink::getStorableValue ( )

Definition at line 51 of file assSuggestedSolutionLink.php.

References ILIAS\TA\Questions\assSuggestedSolutionLink\getInternalLink().

51  : string
52  {
53  return $this->getInternalLink();
54  }
+ Here is the call graph for this function:

◆ getType()

ILIAS\TA\Questions\assSuggestedSolutionLink::getType ( )

◆ withInternalLink()

ILIAS\TA\Questions\assSuggestedSolutionLink::withInternalLink ( string  $internal_link)

Definition at line 60 of file assSuggestedSolutionLink.php.

References ILIAS\TA\Questions\assSuggestedSolutionLink\$internal_link.

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

Field Documentation

◆ $internal_link

◆ $type

string ILIAS\TA\Questions\assSuggestedSolutionLink::$type
protected

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