|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilAssOrderingElement:Data Fields | |
| const | EXPORT_IDENT_PROPERTY_SEPARATOR = '_' |
| $objectInstanceId | |
| $id | |
| this identifier equals the database's row id More... | |
Static Public Attributes | |
| static | $objectInstanceCounter = 0 |
Protected Member Functions | |
| thumbnailFileExists () | |
| getThumbnailFilePath () | |
| getThumbnailFileUrl () | |
| imageFileExists () | |
| getImageFilePath () | |
| getImageFileUrl () | |
Protected Attributes | |
| $random_identifier = null | |
| this identifier is generated randomly it is recycled for known elements More... | |
| $solution_identifier = null | |
| this identifier is used to identify elements and is stored together with the set position and indentation More... | |
| $indentation = 0 | |
| the correct width of indentation for the element More... | |
| $position = null | |
| the correct position in the ordering sequence More... | |
| $content = null | |
| $uploadImageName = null | |
| $uploadImageFile = null | |
| $imageRemovalRequest = false | |
| $imagePathWeb = null | |
| $imagePathFs = null | |
| $imageThumbnailPrefix = null | |
Definition at line 28 of file class.ilAssOrderingElement.php.
| ilAssOrderingElement::__construct | ( | int | $id = -1 | ) |
ilAssOrderingElement constructor.
Definition at line 112 of file class.ilAssOrderingElement.php.
References $id, and $objectInstanceCounter.
| ilAssOrderingElement::__clone | ( | ) |
Cloning.
Definition at line 121 of file class.ilAssOrderingElement.php.
References $objectInstanceCounter.
| ilAssOrderingElement::__toString | ( | ) |
Definition at line 371 of file class.ilAssOrderingElement.php.
References getContent().
Here is the call graph for this function:| ilAssOrderingElement::getClone | ( | ) |
Definition at line 126 of file class.ilAssOrderingElement.php.
| ilAssOrderingElement::getContent | ( | ) |
Definition at line 202 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(), assOrderingQuestionTest\testOrderingElementMutation(), and thumbnailFileExists().
Here is the caller graph for this function:| ilAssOrderingElement::getExportIdent | ( | ) |
Definition at line 427 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
Here is the call graph for this function:| ilAssOrderingElement::getId | ( | ) |
Definition at line 131 of file class.ilAssOrderingElement.php.
References $id.
Referenced by ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject().
Here is the caller graph for this function:
|
protected |
Definition at line 404 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathFs().
Referenced by imageFileExists().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 409 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathWeb().
Referenced by getPresentationImageUrl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::getImagePathFs | ( | ) |
Definition at line 293 of file class.ilAssOrderingElement.php.
References $imagePathFs.
Referenced by getImageFilePath(), and getThumbnailFilePath().
Here is the caller graph for this function:| ilAssOrderingElement::getImagePathWeb | ( | ) |
Definition at line 277 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by getImageFileUrl(), and getThumbnailFileUrl().
Here is the caller graph for this function:| ilAssOrderingElement::getImageThumbnailPrefix | ( | ) |
Definition at line 309 of file class.ilAssOrderingElement.php.
References $imageThumbnailPrefix.
Referenced by getThumbnailFilePath(), and getThumbnailFileUrl().
Here is the caller graph for this function:| ilAssOrderingElement::getIndentation | ( | ) |
Definition at line 178 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by getExportIdent(), getStorageValue2(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), isSameElement(), and assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::getPosition | ( | ) |
Definition at line 186 of file class.ilAssOrderingElement.php.
References $position.
Referenced by getExportIdent(), getStorageValue1(), getStorageValue2(), ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), isSameElement(), and assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::getPresentationImageUrl | ( | ) |
Definition at line 414 of file class.ilAssOrderingElement.php.
References getImageFileUrl(), getThumbnailFileUrl(), imageFileExists(), and thumbnailFileExists().
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::getRandomIdentifier | ( | ) |
Definition at line 141 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().
Here is the caller graph for this function:| ilAssOrderingElement::getSolutionIdentifier | ( | ) |
Definition at line 154 of file class.ilAssOrderingElement.php.
References $solution_identifier.
Referenced by ilAssOrderingElementList\fetchIdentifier(), getExportIdent(), getStorageValue1(), ILIAS\TA\Questions\Ordering\assOrderingQuestionDatabaseRepository\insertOrderingElement(), isSameElement(), and assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::getStorageValue1 | ( | $orderingType | ) |
Definition at line 341 of file class.ilAssOrderingElement.php.
References getPosition(), getSolutionIdentifier(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, and assOrderingQuestion\OQ_TERMS.
Here is the call graph for this function:| ilAssOrderingElement::getStorageValue2 | ( | $orderingType | ) |
Definition at line 356 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), assOrderingQuestion\OQ_NESTED_PICTURES, assOrderingQuestion\OQ_NESTED_TERMS, assOrderingQuestion\OQ_PICTURES, and assOrderingQuestion\OQ_TERMS.
Here is the call graph for this function:
|
protected |
Definition at line 385 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathFs(), and getImageThumbnailPrefix().
Referenced by thumbnailFileExists().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 390 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathWeb(), and getImageThumbnailPrefix().
Referenced by getPresentationImageUrl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::getUploadImageFile | ( | ) |
Definition at line 215 of file class.ilAssOrderingElement.php.
References $uploadImageFile.
Referenced by isImageUploadAvailable().
Here is the caller graph for this function:| ilAssOrderingElement::getUploadImageName | ( | ) |
Definition at line 234 of file class.ilAssOrderingElement.php.
References $uploadImageName.
|
protected |
Definition at line 395 of file class.ilAssOrderingElement.php.
References getContent(), and getImageFilePath().
Referenced by getPresentationImageUrl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::isExportIdent | ( | string | $ident | ) |
Definition at line 439 of file class.ilAssOrderingElement.php.
References ilAssOrderingElementList\isValidIndentation(), ilAssOrderingElementList\isValidPosition(), ilAssOrderingElementList\isValidRandomIdentifier(), and ilAssOrderingElementList\isValidSolutionIdentifier().
Referenced by setExportIdent().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::isImageRemovalRequest | ( | ) |
Definition at line 261 of file class.ilAssOrderingElement.php.
References $imageRemovalRequest.
| ilAssOrderingElement::isImageUploadAvailable | ( | ) |
Definition at line 253 of file class.ilAssOrderingElement.php.
References getUploadImageFile().
Here is the call graph for this function:| ilAssOrderingElement::isSameElement | ( | ilAssOrderingElement | $element | ) |
| ilAssOrderingElement | $element |
Definition at line 326 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
Here is the call graph for this function:| ilAssOrderingElement::setContent | ( | $content | ) |
| ilAssOrderingElement::setExportIdent | ( | $ident | ) |
Definition at line 454 of file class.ilAssOrderingElement.php.
References isExportIdent(), setIndentation(), setPosition(), setRandomIdentifier(), and setSolutionIdentifier().
Here is the call graph for this function:| ilAssOrderingElement::setId | ( | int | $id | ) |
Definition at line 136 of file class.ilAssOrderingElement.php.
References $id.
| ilAssOrderingElement::setImagePathFs | ( | $imagePathFs | ) |
| string | $imagePathFs |
Definition at line 301 of file class.ilAssOrderingElement.php.
References $imagePathFs.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
Here is the caller graph for this function:| ilAssOrderingElement::setImagePathWeb | ( | $imagePathWeb | ) |
| string | $imagePathWeb |
Definition at line 285 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
Here is the caller graph for this function:| ilAssOrderingElement::setImageRemovalRequest | ( | $imageRemovalRequest | ) |
| bool | $imageRemovalRequest |
Definition at line 269 of file class.ilAssOrderingElement.php.
References $imageRemovalRequest.
| ilAssOrderingElement::setImageThumbnailPrefix | ( | $imageThumbnailPrefix | ) |
| null | $imageThumbnailPrefix |
Definition at line 317 of file class.ilAssOrderingElement.php.
References $imageThumbnailPrefix.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
Here is the caller graph for this function:| ilAssOrderingElement::setIndentation | ( | $indentation | ) |
| int | $indentation |
Definition at line 170 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by setExportIdent().
Here is the caller graph for this function:| ilAssOrderingElement::setPosition | ( | $position | ) |
| int | $position |
Definition at line 194 of file class.ilAssOrderingElement.php.
References $position.
Referenced by setExportIdent().
Here is the caller graph for this function:| ilAssOrderingElement::setRandomIdentifier | ( | int | $random_identifier | ) |
Definition at line 146 of file class.ilAssOrderingElement.php.
References $random_identifier.
Referenced by ilAssOrderingElementList\populateIdentifier(), and setExportIdent().
Here is the caller graph for this function:| ilAssOrderingElement::setSolutionIdentifier | ( | $solution_identifier | ) |
| int | $solution_identifier |
Definition at line 162 of file class.ilAssOrderingElement.php.
References $solution_identifier.
Referenced by ilAssOrderingElementList\populateIdentifier(), and setExportIdent().
Here is the caller graph for this function:| ilAssOrderingElement::setUploadImageFile | ( | $uploadImageFile | ) |
| string | $uploadImageFile |
Definition at line 223 of file class.ilAssOrderingElement.php.
References $uploadImageFile.
| ilAssOrderingElement::setUploadImageName | ( | $uploadImageName | ) |
| string | $uploadImageName |
Definition at line 242 of file class.ilAssOrderingElement.php.
References $uploadImageName.
|
protected |
Definition at line 376 of file class.ilAssOrderingElement.php.
References getContent(), and getThumbnailFilePath().
Referenced by getPresentationImageUrl().
Here is the call graph for this function:
Here is the caller graph for this function:| ilAssOrderingElement::withContent | ( | string | $content | ) |
Definition at line 493 of file class.ilAssOrderingElement.php.
References $content.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::withIndentation | ( | int | $indentation | ) |
Definition at line 487 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::withPosition | ( | int | $position | ) |
Definition at line 481 of file class.ilAssOrderingElement.php.
References $position.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::withRandomIdentifier | ( | int | $id | ) |
Definition at line 469 of file class.ilAssOrderingElement.php.
References $id.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:| ilAssOrderingElement::withSolutionIdentifier | ( | int | $id | ) |
Definition at line 475 of file class.ilAssOrderingElement.php.
References $id.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
Here is the caller graph for this function:
|
protected |
Definition at line 81 of file class.ilAssOrderingElement.php.
Referenced by getContent(), setContent(), and withContent().
| integer ilAssOrderingElement::$id |
this identifier equals the database's row id
Definition at line 39 of file class.ilAssOrderingElement.php.
Referenced by __construct(), getId(), setId(), withRandomIdentifier(), and withSolutionIdentifier().
|
protected |
Definition at line 106 of file class.ilAssOrderingElement.php.
Referenced by getImagePathFs(), and setImagePathFs().
|
protected |
Definition at line 101 of file class.ilAssOrderingElement.php.
Referenced by getImagePathWeb(), and setImagePathWeb().
|
protected |
Definition at line 96 of file class.ilAssOrderingElement.php.
Referenced by isImageRemovalRequest(), and setImageRemovalRequest().
|
protected |
Definition at line 107 of file class.ilAssOrderingElement.php.
Referenced by getImageThumbnailPrefix(), and setImageThumbnailPrefix().
|
protected |
the correct width of indentation for the element
Definition at line 70 of file class.ilAssOrderingElement.php.
Referenced by getIndentation(), setIndentation(), and withIndentation().
|
static |
Definition at line 32 of file class.ilAssOrderingElement.php.
Referenced by __clone(), and __construct().
| ilAssOrderingElement::$objectInstanceId |
Definition at line 33 of file class.ilAssOrderingElement.php.
|
protected |
the correct position in the ordering sequence
Definition at line 76 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 50 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 64 of file class.ilAssOrderingElement.php.
Referenced by getSolutionIdentifier(), and setSolutionIdentifier().
|
protected |
Definition at line 91 of file class.ilAssOrderingElement.php.
Referenced by getUploadImageFile(), and setUploadImageFile().
|
protected |
Definition at line 86 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.