ILIAS
release_8 Revision v8.19
|
Data Fields | |
const | EXPORT_IDENT_PROPERTY_SEPARATOR = '_' |
$objectInstanceId | |
int | $id |
Static Public Attributes | |
static | $objectInstanceCounter = 0 |
Protected Member Functions | |
thumbnailFileExists () | |
getThumbnailFilePath () | |
getThumbnailFileUrl () | |
imageFileExists () | |
getImageFilePath () | |
getImageFileUrl () | |
Protected Attributes | |
int | $random_identifier = null |
this identifier is generated randomly it is recycled for known elements More... | |
int | $solution_identifier = null |
this identifier is used to identify elements and is stored together with the set position and indentation More... | |
int | $indentation = 0 |
the correct width of indentation for the element More... | |
int | $position = null |
the correct position in the ordering sequence More... | |
string | $content = null |
string | $uploadImageName = null |
string | $uploadImageFile = null |
bool | $imageRemovalRequest = false |
string | $imagePathWeb = null |
string | $imagePathFs = null |
$imageThumbnailPrefix = null | |
Definition at line 28 of file class.ilAssOrderingElement.php.
ilAssOrderingElement::__construct | ( | int | $id = -1 | ) |
ilAssOrderingElement constructor.
Definition at line 82 of file class.ilAssOrderingElement.php.
References $id.
ilAssOrderingElement::__clone | ( | ) |
Cloning.
Definition at line 91 of file class.ilAssOrderingElement.php.
ilAssOrderingElement::__toString | ( | ) |
Definition at line 321 of file class.ilAssOrderingElement.php.
References getContent().
ilAssOrderingElement::getClone | ( | ) |
Definition at line 96 of file class.ilAssOrderingElement.php.
ilAssOrderingElement::getContent | ( | ) |
Definition at line 157 of file class.ilAssOrderingElement.php.
References $content.
Referenced by __toString(), assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject(), getImageFilePath(), getImageFileUrl(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ilAssOrderingFormValuesObjectsConverter\getTextContentValueFromObject(), getThumbnailFilePath(), getThumbnailFileUrl(), imageFileExists(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), assOrderingQuestion\isImageReplaced(), and thumbnailFileExists().
ilAssOrderingElement::getExportIdent | ( | ) |
Definition at line 377 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
ilAssOrderingElement::getId | ( | ) |
Definition at line 101 of file class.ilAssOrderingElement.php.
References $id.
Referenced by ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject().
|
protected |
Definition at line 354 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathFs().
Referenced by imageFileExists().
|
protected |
Definition at line 359 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathWeb().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::getImagePathFs | ( | ) |
Definition at line 249 of file class.ilAssOrderingElement.php.
References $imagePathFs.
Referenced by getImageFilePath(), and getThumbnailFilePath().
ilAssOrderingElement::getImagePathWeb | ( | ) |
Definition at line 233 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by getImageFileUrl(), and getThumbnailFileUrl().
ilAssOrderingElement::getImageThumbnailPrefix | ( | ) |
Definition at line 262 of file class.ilAssOrderingElement.php.
References $imageThumbnailPrefix.
Referenced by getThumbnailFilePath(), and getThumbnailFileUrl().
ilAssOrderingElement::getIndentation | ( | ) |
Definition at line 139 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by getExportIdent(), getStorageValue2(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), and isSameElement().
ilAssOrderingElement::getPosition | ( | ) |
Definition at line 144 of file class.ilAssOrderingElement.php.
References $position.
Referenced by getExportIdent(), getStorageValue1(), getStorageValue2(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), and isSameElement().
ilAssOrderingElement::getPresentationImageUrl | ( | ) |
Definition at line 364 of file class.ilAssOrderingElement.php.
References getImageFileUrl(), getThumbnailFileUrl(), imageFileExists(), and thumbnailFileExists().
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
ilAssOrderingElement::getRandomIdentifier | ( | ) |
Definition at line 111 of file class.ilAssOrderingElement.php.
References $random_identifier.
Referenced by ilAssOrderingElementList\fetchIdentifier(), getExportIdent(), getStorageValue2(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), isSameElement(), and assOrderingQuestionTest\testOrderingElementMutation().
ilAssOrderingElement::getSolutionIdentifier | ( | ) |
Definition at line 124 of file class.ilAssOrderingElement.php.
References $solution_identifier.
Referenced by ilAssOrderingElementList\fetchIdentifier(), getExportIdent(), getStorageValue1(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), and isSameElement().
ilAssOrderingElement::getStorageValue1 | ( | $orderingType | ) |
Definition at line 291 of file class.ilAssOrderingElement.php.
References getPosition(), getSolutionIdentifier(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, and assOrderingQuestion\OQ_TERMS.
ilAssOrderingElement::getStorageValue2 | ( | $orderingType | ) |
Definition at line 306 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, and assOrderingQuestion\OQ_TERMS.
|
protected |
Definition at line 335 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathFs(), and getImageThumbnailPrefix().
Referenced by thumbnailFileExists().
|
protected |
Definition at line 340 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathWeb(), and getImageThumbnailPrefix().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::getUploadImageFile | ( | ) |
Definition at line 171 of file class.ilAssOrderingElement.php.
References $uploadImageFile.
Referenced by isImageUploadAvailable().
ilAssOrderingElement::getUploadImageName | ( | ) |
Definition at line 190 of file class.ilAssOrderingElement.php.
References $uploadImageName.
|
protected |
Definition at line 345 of file class.ilAssOrderingElement.php.
References getContent(), and getImageFilePath().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::isExportIdent | ( | string | $ident | ) |
Definition at line 389 of file class.ilAssOrderingElement.php.
References $parts, ilAssOrderingElementList\isValidIndentation(), ilAssOrderingElementList\isValidPosition(), ilAssOrderingElementList\isValidRandomIdentifier(), and ilAssOrderingElementList\isValidSolutionIdentifier().
Referenced by setExportIdent().
ilAssOrderingElement::isImageRemovalRequest | ( | ) |
Definition at line 217 of file class.ilAssOrderingElement.php.
References $imageRemovalRequest.
ilAssOrderingElement::isImageUploadAvailable | ( | ) |
Definition at line 209 of file class.ilAssOrderingElement.php.
References getUploadImageFile().
ilAssOrderingElement::isSameElement | ( | ilAssOrderingElement | $element | ) |
ilAssOrderingElement | $element |
Definition at line 276 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
ilAssOrderingElement::setContent | ( | $content | ) |
ilAssOrderingElement::setExportIdent | ( | $ident | ) |
Definition at line 404 of file class.ilAssOrderingElement.php.
References isExportIdent(), setIndentation(), setPosition(), setRandomIdentifier(), and setSolutionIdentifier().
ilAssOrderingElement::setId | ( | int | $id | ) |
ilAssOrderingElement::setImagePathFs | ( | $imagePathFs | ) |
string | $imagePathFs |
Definition at line 257 of file class.ilAssOrderingElement.php.
References $imagePathFs.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
ilAssOrderingElement::setImagePathWeb | ( | $imagePathWeb | ) |
string | $imagePathWeb |
Definition at line 241 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
ilAssOrderingElement::setImageRemovalRequest | ( | $imageRemovalRequest | ) |
bool | $imageRemovalRequest |
Definition at line 225 of file class.ilAssOrderingElement.php.
References $imageRemovalRequest.
ilAssOrderingElement::setImageThumbnailPrefix | ( | $imageThumbnailPrefix | ) |
Definition at line 267 of file class.ilAssOrderingElement.php.
References $imageThumbnailPrefix.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
ilAssOrderingElement::setIndentation | ( | int | $indentation | ) |
Definition at line 134 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by setExportIdent().
ilAssOrderingElement::setPosition | ( | int | $position | ) |
Definition at line 149 of file class.ilAssOrderingElement.php.
References $position.
Referenced by setExportIdent().
ilAssOrderingElement::setRandomIdentifier | ( | int | $random_identifier | ) |
Definition at line 116 of file class.ilAssOrderingElement.php.
References $random_identifier.
Referenced by ilAssOrderingElementList\populateIdentifier(), and setExportIdent().
ilAssOrderingElement::setSolutionIdentifier | ( | int | $solution_identifier | ) |
Definition at line 129 of file class.ilAssOrderingElement.php.
References $solution_identifier.
Referenced by ilAssOrderingElementList\populateIdentifier(), and setExportIdent().
ilAssOrderingElement::setUploadImageFile | ( | $uploadImageFile | ) |
string | $uploadImageFile |
Definition at line 179 of file class.ilAssOrderingElement.php.
References $uploadImageFile.
ilAssOrderingElement::setUploadImageName | ( | $uploadImageName | ) |
string | $uploadImageName |
Definition at line 198 of file class.ilAssOrderingElement.php.
References $uploadImageName.
|
protected |
Definition at line 326 of file class.ilAssOrderingElement.php.
References getContent(), and getThumbnailFilePath().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::withContent | ( | string | $content | ) |
ilAssOrderingElement::withIndentation | ( | int | $indentation | ) |
Definition at line 437 of file class.ilAssOrderingElement.php.
References $indentation.
ilAssOrderingElement::withPosition | ( | int | $position | ) |
Definition at line 431 of file class.ilAssOrderingElement.php.
References $position.
ilAssOrderingElement::withRandomIdentifier | ( | int | $id | ) |
Definition at line 419 of file class.ilAssOrderingElement.php.
References $id.
Referenced by ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\buildOrderingElement(), and assOrderingQuestionTest\testOrderingElementMutation().
ilAssOrderingElement::withSolutionIdentifier | ( | int | $id | ) |
Definition at line 425 of file class.ilAssOrderingElement.php.
References $id.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
|
protected |
Definition at line 71 of file class.ilAssOrderingElement.php.
Referenced by getContent(), setContent(), and withContent().
int ilAssOrderingElement::$id |
Definition at line 39 of file class.ilAssOrderingElement.php.
Referenced by __construct(), getId(), setId(), withRandomIdentifier(), and withSolutionIdentifier().
|
protected |
Definition at line 76 of file class.ilAssOrderingElement.php.
Referenced by getImagePathFs(), and setImagePathFs().
|
protected |
Definition at line 75 of file class.ilAssOrderingElement.php.
Referenced by getImagePathWeb(), and setImagePathWeb().
|
protected |
Definition at line 74 of file class.ilAssOrderingElement.php.
Referenced by isImageRemovalRequest(), and setImageRemovalRequest().
|
protected |
Definition at line 77 of file class.ilAssOrderingElement.php.
Referenced by getImageThumbnailPrefix(), and setImageThumbnailPrefix().
|
protected |
the correct width of indentation for the element
Definition at line 65 of file class.ilAssOrderingElement.php.
Referenced by getIndentation(), setIndentation(), and withIndentation().
|
static |
Definition at line 32 of file class.ilAssOrderingElement.php.
ilAssOrderingElement::$objectInstanceId |
Definition at line 33 of file class.ilAssOrderingElement.php.
|
protected |
the correct position in the ordering sequence
Definition at line 70 of file class.ilAssOrderingElement.php.
Referenced by getPosition(), setPosition(), and withPosition().
|
protected |
this identifier is generated randomly it is recycled for known elements
the main purpose is to have a key that does not make the solution derivable and is therefore useable in the examines working form
Definition at line 48 of file class.ilAssOrderingElement.php.
Referenced by getRandomIdentifier(), and setRandomIdentifier().
|
protected |
this identifier is used to identify elements and is stored together with the set position and indentation
this happens for the examine's submit data as well, an order index is build and the elements are assigned using this identifier
it is an integer sequence starting at 0 that increments with every added element while obsolete numbers are not recycled
Definition at line 60 of file class.ilAssOrderingElement.php.
Referenced by getSolutionIdentifier(), and setSolutionIdentifier().
|
protected |
Definition at line 73 of file class.ilAssOrderingElement.php.
Referenced by getUploadImageFile(), and setUploadImageFile().
|
protected |
Definition at line 72 of file class.ilAssOrderingElement.php.
Referenced by getUploadImageName(), and setUploadImageName().
const ilAssOrderingElement::EXPORT_IDENT_PROPERTY_SEPARATOR = '_' |
Definition at line 30 of file class.ilAssOrderingElement.php.