ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
__construct (private readonly \ilComponentFactory $component_factory, private readonly int $question_id, private ?int $original_id=null, private ?string $external_id=null, private int $parent_object_id=0, private ?int $origin_object_id=null, private readonly int $type_id=0, private readonly string $class_name='', private int $owner=0, private string $title='', private string $description='', private string $question_text='', private float $available_points=0.0, private int $number_of_tries=0, private string $lifecycle='draft', private ?string $author=null, private int $updated_timestamp=0, private int $created_timestamp=0, private bool $complete=true, private readonly ?string $additional_content_editing_mode=null) | |
getQuestionId () | |
getOriginalId () | |
withOriginalId (int $original_id) | |
getExternalId () | |
withExternalId (string $external_id) | |
getParentObjectId () | |
withParentObjectId (int $parent_id) | |
getOriginObjectId () | |
withOriginObjectId (int $origin_object_id) | |
getTypeId () | |
getClassName () | |
getGuiClassName () | |
getTypeName (Language $lng) | |
getOwner () | |
withOwner (int $owner) | |
getTitle () | |
withTitle (string $title) | |
getDescription () | |
withDescription (string $description) | |
getQuestionText () | |
withQuestionText (string $question_text) | |
getAvailablePoints () | |
withMaximumPoints (float $reachable_points) | |
getNumberOfTries () | |
withNumberOfTries (int $number_of_tries) | |
getLifecycle () | |
withLifecycle (string $lifecycle) | |
getAuthor () | |
withAuthor (string $author) | |
getUpdatedTimestamp () | |
withUpdatedTimestamp (int $updated_timestamp) | |
getCreatedTimestamp () | |
withCreatedTimestamp (int $created_timestamp) | |
isRequiredInformationComplete () | |
withCompletionStatus (bool $complete) | |
getAdditionalContentEditingMode () | |
isClone () | |
Checks whether the question is a clone of another question or not. More... | |
toStorage () | |
Definition at line 25 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::__construct | ( | private readonly \ilComponentFactory | $component_factory, |
private readonly int | $question_id, | ||
private ?int | $original_id = null , |
||
private ?string | $external_id = null , |
||
private int | $parent_object_id = 0 , |
||
private ?int | $origin_object_id = null , |
||
private readonly int | $type_id = 0 , |
||
private readonly string | $class_name = '' , |
||
private int | $owner = 0 , |
||
private string | $title = '' , |
||
private string | $description = '' , |
||
private string | $question_text = '' , |
||
private float | $available_points = 0.0 , |
||
private int | $number_of_tries = 0 , |
||
private string | $lifecycle = 'draft' , |
||
private ?string | $author = null , |
||
private int | $updated_timestamp = 0 , |
||
private int | $created_timestamp = 0 , |
||
private bool | $complete = true , |
||
private readonly ?string | $additional_content_editing_mode = null |
||
) |
Definition at line 27 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getAdditionalContentEditingMode | ( | ) |
Definition at line 269 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getAuthor | ( | ) |
Definition at line 221 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getAvailablePoints | ( | ) |
Definition at line 185 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getClassName | ( | ) |
Definition at line 109 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getCreatedTimestamp | ( | ) |
Definition at line 245 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getDescription | ( | ) |
Definition at line 161 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getExternalId | ( | ) |
Definition at line 68 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getGuiClassName | ( | ) |
Definition at line 114 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getLifecycle | ( | ) |
Definition at line 209 of file GeneralQuestionProperties.php.
References $lifecycle.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getNumberOfTries | ( | ) |
Definition at line 197 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getOriginalId | ( | ) |
Definition at line 56 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getOriginObjectId | ( | ) |
Definition at line 92 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getOwner | ( | ) |
Definition at line 137 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getParentObjectId | ( | ) |
Definition at line 80 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getQuestionId | ( | ) |
Definition at line 51 of file GeneralQuestionProperties.php.
Referenced by ILIAS\Test\Questions\Properties\DatabaseRepository\buildQuestionPropertiesFromGeneralQuestionPropertiesAndSquenceProperties(), and ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getQuestionText | ( | ) |
Definition at line 173 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getTitle | ( | ) |
Definition at line 149 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getTypeId | ( | ) |
Definition at line 104 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getTypeName | ( | Language | $lng | ) |
Definition at line 119 of file GeneralQuestionProperties.php.
References ILIAS\Language\Language\txt().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::getUpdatedTimestamp | ( | ) |
Definition at line 233 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::isClone | ( | ) |
Checks whether the question is a clone of another question or not.
Definition at line 277 of file GeneralQuestionProperties.php.
References null.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::isRequiredInformationComplete | ( | ) |
Definition at line 257 of file GeneralQuestionProperties.php.
Referenced by ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\toStorage().
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::toStorage | ( | ) |
Definition at line 285 of file GeneralQuestionProperties.php.
References ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getAdditionalContentEditingMode(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getAuthor(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getAvailablePoints(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getCreatedTimestamp(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getDescription(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getExternalId(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getLifecycle(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getNumberOfTries(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getOriginalId(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getOwner(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getParentObjectId(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getQuestionId(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getQuestionText(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getTitle(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getTypeId(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\getUpdatedTimestamp(), ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties\isRequiredInformationComplete(), ilDBConstants\T_FLOAT, ilDBConstants\T_INTEGER, and ilDBConstants\T_TEXT.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withAuthor | ( | string | $author | ) |
Definition at line 226 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withCompletionStatus | ( | bool | $complete | ) |
Definition at line 262 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withCreatedTimestamp | ( | int | $created_timestamp | ) |
Definition at line 250 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withDescription | ( | string | $description | ) |
Definition at line 166 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withExternalId | ( | string | $external_id | ) |
Definition at line 73 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withLifecycle | ( | string | $lifecycle | ) |
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withMaximumPoints | ( | float | $reachable_points | ) |
Definition at line 190 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withNumberOfTries | ( | int | $number_of_tries | ) |
Definition at line 202 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withOriginalId | ( | int | $original_id | ) |
Definition at line 61 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withOriginObjectId | ( | int | $origin_object_id | ) |
Definition at line 97 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withOwner | ( | int | $owner | ) |
Definition at line 142 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withParentObjectId | ( | int | $parent_id | ) |
Definition at line 85 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withQuestionText | ( | string | $question_text | ) |
Definition at line 178 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withTitle | ( | string | $title | ) |
Definition at line 154 of file GeneralQuestionProperties.php.
ILIAS\TestQuestionPool\Questions\GeneralQuestionProperties::withUpdatedTimestamp | ( | int | $updated_timestamp | ) |
Definition at line 238 of file GeneralQuestionProperties.php.