ILIAS
release_7 Revision v7.30-3-g800a261c036
|
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.
ilAssOrderingElement::__clone | ( | ) |
Cloning.
Definition at line 121 of file class.ilAssOrderingElement.php.
ilAssOrderingElement::__toString | ( | ) |
Definition at line 371 of file class.ilAssOrderingElement.php.
References getContent().
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(), and thumbnailFileExists().
ilAssOrderingElement::getExportIdent | ( | ) |
Definition at line 427 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
ilAssOrderingElement::getId | ( | ) |
Definition at line 131 of file class.ilAssOrderingElement.php.
References $id.
Referenced by ilAssOrderingFormValuesObjectsConverter\getStructValueFromObject().
|
protected |
Definition at line 404 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathFs().
Referenced by imageFileExists().
|
protected |
Definition at line 409 of file class.ilAssOrderingElement.php.
References getContent(), and getImagePathWeb().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::getImagePathFs | ( | ) |
Definition at line 293 of file class.ilAssOrderingElement.php.
References $imagePathFs.
Referenced by getImageFilePath(), and getThumbnailFilePath().
ilAssOrderingElement::getImagePathWeb | ( | ) |
Definition at line 277 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by getImageFileUrl(), and getThumbnailFileUrl().
ilAssOrderingElement::getImageThumbnailPrefix | ( | ) |
Definition at line 309 of file class.ilAssOrderingElement.php.
References $imageThumbnailPrefix.
Referenced by getThumbnailFilePath(), and getThumbnailFileUrl().
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(), and isSameElement().
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(), and isSameElement().
ilAssOrderingElement::getPresentationImageUrl | ( | ) |
Definition at line 414 of file class.ilAssOrderingElement.php.
References getImageFileUrl(), getThumbnailFileUrl(), imageFileExists(), and thumbnailFileExists().
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
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().
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(), and isSameElement().
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.
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.
|
protected |
Definition at line 385 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathFs(), and getImageThumbnailPrefix().
Referenced by thumbnailFileExists().
|
protected |
Definition at line 390 of file class.ilAssOrderingElement.php.
References getContent(), getImagePathWeb(), and getImageThumbnailPrefix().
Referenced by getPresentationImageUrl().
ilAssOrderingElement::getUploadImageFile | ( | ) |
Definition at line 215 of file class.ilAssOrderingElement.php.
References $uploadImageFile.
Referenced by isImageUploadAvailable().
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().
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().
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().
ilAssOrderingElement::isSameElement | ( | ilAssOrderingElement | $element | ) |
ilAssOrderingElement | $element |
Definition at line 326 of file class.ilAssOrderingElement.php.
References getIndentation(), getPosition(), getRandomIdentifier(), and getSolutionIdentifier().
ilAssOrderingElement::setContent | ( | $content | ) |
ilAssOrderingElement::setExportIdent | ( | $ident | ) |
Definition at line 454 of file class.ilAssOrderingElement.php.
References isExportIdent(), setIndentation(), setPosition(), setRandomIdentifier(), and setSolutionIdentifier().
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().
ilAssOrderingElement::setImagePathWeb | ( | $imagePathWeb | ) |
string | $imagePathWeb |
Definition at line 285 of file class.ilAssOrderingElement.php.
References $imagePathWeb.
Referenced by assOrderingQuestionGUI\getAnswerStatisticOrderingElementHtml(), and ilAssOrderingFormValuesObjectsConverter\getImageContentValueFromObject().
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().
ilAssOrderingElement::setIndentation | ( | $indentation | ) |
int | $indentation |
Definition at line 170 of file class.ilAssOrderingElement.php.
References $indentation.
Referenced by setExportIdent().
ilAssOrderingElement::setPosition | ( | $position | ) |
int | $position |
Definition at line 194 of file class.ilAssOrderingElement.php.
References $position.
Referenced by setExportIdent().
ilAssOrderingElement::setRandomIdentifier | ( | int | $random_identifier | ) |
Definition at line 146 of file class.ilAssOrderingElement.php.
References $random_identifier.
Referenced by ilAssOrderingElementList\populateIdentifier(), and setExportIdent().
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().
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().
ilAssOrderingElement::withContent | ( | string | $content | ) |
ilAssOrderingElement::withIndentation | ( | int | $indentation | ) |
Definition at line 487 of file class.ilAssOrderingElement.php.
References $indentation.
ilAssOrderingElement::withPosition | ( | int | $position | ) |
Definition at line 481 of file class.ilAssOrderingElement.php.
References $position.
ilAssOrderingElement::withRandomIdentifier | ( | int | $id | ) |
Definition at line 469 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 475 of file class.ilAssOrderingElement.php.
References $id.
Referenced by assOrderingQuestionTest\testOrderingElementMutation().
|
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.
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.