|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
a suggested solution for file-contents More...
Inheritance diagram for ILIAS\TA\Questions\assSuggestedSolutionFile:
Collaboration diagram for ILIAS\TA\Questions\assSuggestedSolutionFile: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) | |
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 () | |
Data Fields | |
| const | ARRAY_KEY_FILENAME = 'name' |
| const | ARRAY_KEY_TITLE = 'filename' |
| const | ARRAY_KEY_MIME = 'type' |
| const | ARRAY_KEY_SIZE = 'size' |
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 |
Protected Attributes | |
| string | $filename |
| string | $mime |
| int | $size = 0 |
| string | $title |
Protected Attributes inherited from ILIAS\TA\Questions\assQuestionSuggestedSolution | |
| int | $id |
| int | $question_id |
| int | $subquestion_index |
| string | $import_id |
| DateTimeImmutable | $last_update |
a suggested solution for file-contents
Definition at line 27 of file assSuggestedSolutionFile.php.
| ILIAS\TA\Questions\assSuggestedSolutionFile::__construct | ( | int | $id, |
| int | $question_id, | ||
| int | $subquestion_index, | ||
| string | $import_id, | ||
| \DateTimeImmutable | $last_update, | ||
| string | $type, | ||
| string | $value | ||
| ) |
Definition at line 39 of file assSuggestedSolutionFile.php.
References ILIAS\MetaData\Repository\Validation\Data\__construct().
Here is the call graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getFilename | ( | ) |
Definition at line 108 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$filename.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getStorableValue().
Here is the caller graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getMime | ( | ) |
Definition at line 86 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$mime.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getStorableValue(), and assQuestionSuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
Here is the caller graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getSize | ( | ) |
Definition at line 97 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$size.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getStorableValue(), and assQuestionSuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
Here is the caller graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getStorableValue | ( | ) |
Definition at line 62 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\getFilename(), ILIAS\TA\Questions\assSuggestedSolutionFile\getMime(), ILIAS\TA\Questions\assSuggestedSolutionFile\getSize(), and ILIAS\TA\Questions\assSuggestedSolutionFile\getTitle().
Here is the call graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getTitle | ( | ) |
Definition at line 72 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$filename, and ILIAS\TA\Questions\assSuggestedSolutionFile\$title.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getStorableValue(), and assQuestionSuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
Here is the caller graph for this function:| ILIAS\TA\Questions\assSuggestedSolutionFile::getType | ( | ) |
Definition at line 57 of file assSuggestedSolutionFile.php.
| ILIAS\TA\Questions\assSuggestedSolutionFile::withFilename | ( | string | $filename | ) |
Definition at line 112 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$filename.
| ILIAS\TA\Questions\assSuggestedSolutionFile::withMime | ( | string | $mime | ) |
Definition at line 90 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$mime.
| ILIAS\TA\Questions\assSuggestedSolutionFile::withSize | ( | int | $size | ) |
Definition at line 101 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$size.
| ILIAS\TA\Questions\assSuggestedSolutionFile::withTitle | ( | string | $title | ) |
Definition at line 79 of file assSuggestedSolutionFile.php.
References ILIAS\TA\Questions\assSuggestedSolutionFile\$title.
Referenced by assQuestionSuggestedSolutionTest\testSuggestedSolutionMutatorsFile().
Here is the caller graph for this function:
|
protected |
Definition at line 34 of file assSuggestedSolutionFile.php.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getFilename(), ILIAS\TA\Questions\assSuggestedSolutionFile\getTitle(), and ILIAS\TA\Questions\assSuggestedSolutionFile\withFilename().
|
protected |
Definition at line 35 of file assSuggestedSolutionFile.php.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getMime(), and ILIAS\TA\Questions\assSuggestedSolutionFile\withMime().
|
protected |
Definition at line 36 of file assSuggestedSolutionFile.php.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getSize(), and ILIAS\TA\Questions\assSuggestedSolutionFile\withSize().
|
protected |
Definition at line 37 of file assSuggestedSolutionFile.php.
Referenced by ILIAS\TA\Questions\assSuggestedSolutionFile\getTitle(), and ILIAS\TA\Questions\assSuggestedSolutionFile\withTitle().
| const ILIAS\TA\Questions\assSuggestedSolutionFile::ARRAY_KEY_FILENAME = 'name' |
Definition at line 29 of file assSuggestedSolutionFile.php.
| const ILIAS\TA\Questions\assSuggestedSolutionFile::ARRAY_KEY_MIME = 'type' |
Definition at line 31 of file assSuggestedSolutionFile.php.
| const ILIAS\TA\Questions\assSuggestedSolutionFile::ARRAY_KEY_SIZE = 'size' |
Definition at line 32 of file assSuggestedSolutionFile.php.
| const ILIAS\TA\Questions\assSuggestedSolutionFile::ARRAY_KEY_TITLE = 'filename' |
Definition at line 30 of file assSuggestedSolutionFile.php.