ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
a suggested solution for file-contents More...
Public Member Functions | |
__construct (int $id, int $question_id, int $subquestion_index, string $import_id, \DateTimeImmutable $last_update, string $type, string $value) | |
getType () | |
getStorableValue () | |
getTitle () | |
withTitle (string $title) | |
getMime () | |
withMime (string $mime) | |
getSize () | |
withSize (int $size) | |
getFilename () | |
withFilename (string $filename) | |
![]() | |
__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 () | |
Data Fields | |
const | ARRAY_KEY_FILENAME = 'name' |
const | ARRAY_KEY_TITLE = 'filename' |
const | ARRAY_KEY_MIME = 'type' |
const | ARRAY_KEY_SIZE = 'size' |
![]() | |
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 |
Protected Attributes | |
string | $filename |
string | $mime |
int | $size = 0 |
string | $title |
![]() | |
int | $id |
int | $question_id |
int | $subquestion_index |
string | $import_id |
DateTimeImmutable | $last_update |
a suggested solution for file-contents
Definition at line 28 of file SuggestedSolutionFile.php.
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::__construct | ( | int | $id, |
int | $question_id, | ||
int | $subquestion_index, | ||
string | $import_id, | ||
\DateTimeImmutable | $last_update, | ||
string | $type, | ||
string | $value | ||
) |
Definition at line 40 of file SuggestedSolutionFile.php.
References ILIAS\GlobalScreen\Provider\__construct().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getFilename | ( | ) |
Definition at line 109 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$filename.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getStorableValue().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getMime | ( | ) |
Definition at line 87 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$mime.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getStorableValue(), and SuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getSize | ( | ) |
Definition at line 98 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$size.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getStorableValue(), and SuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getStorableValue | ( | ) |
Definition at line 63 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getFilename(), ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getMime(), ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getSize(), and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getTitle().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getTitle | ( | ) |
Definition at line 73 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$filename, and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$title.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getStorableValue(), and SuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::getType | ( | ) |
Definition at line 58 of file SuggestedSolutionFile.php.
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::withFilename | ( | string | $filename | ) |
Definition at line 113 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$filename.
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::withMime | ( | string | $mime | ) |
Definition at line 91 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$mime.
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::withSize | ( | int | $size | ) |
Definition at line 102 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$size.
ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::withTitle | ( | string | $title | ) |
Definition at line 80 of file SuggestedSolutionFile.php.
References ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\$title.
Referenced by SuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
|
protected |
Definition at line 35 of file SuggestedSolutionFile.php.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getFilename(), ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getTitle(), and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\withFilename().
|
protected |
Definition at line 36 of file SuggestedSolutionFile.php.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getMime(), and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\withMime().
|
protected |
Definition at line 37 of file SuggestedSolutionFile.php.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getSize(), and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\withSize().
|
protected |
Definition at line 38 of file SuggestedSolutionFile.php.
Referenced by ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\getTitle(), and ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile\withTitle().
const ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::ARRAY_KEY_FILENAME = 'name' |
Definition at line 30 of file SuggestedSolutionFile.php.
const ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::ARRAY_KEY_MIME = 'type' |
Definition at line 32 of file SuggestedSolutionFile.php.
const ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::ARRAY_KEY_SIZE = 'size' |
Definition at line 33 of file SuggestedSolutionFile.php.
const ILIAS\TestQuestionPool\Questions\SuggestedSolution\SuggestedSolutionFile::ARRAY_KEY_TITLE = 'filename' |
Definition at line 31 of file SuggestedSolutionFile.php.