19declare(strict_types=1);
287 switch ($ordering_type) {
302 switch ($ordering_type) {
380 return implode(self::EXPORT_IDENT_PROPERTY_SEPARATOR, $ident);
385 if (!strlen($ident)) {
389 $parts = explode(self::EXPORT_IDENT_PROPERTY_SEPARATOR, $ident);
401 list($randomId, $solutionId, $pos, $indent) = explode(
402 self::EXPORT_IDENT_PROPERTY_SEPARATOR,
415 $clone = clone $this;
416 $clone->random_identifier =
$id;
421 $clone = clone $this;
422 $clone->solution_identifier =
$id;
427 $clone = clone $this;
433 $clone = clone $this;
439 $clone = clone $this;
static isValidPosition($position)
static isValidRandomIdentifier($identifier)
static isValidSolutionIdentifier($identifier)
static isValidIndentation($indentation)
withContent(string $content)
int $position
the correct position in the ordering sequence
withIndentation(int $indentation)
isExportIdent(string $ident)
setImagePathFs(string $image_path_fs)
int $indentation
the correct width of indentation for the element
__construct(int $id=-1)
ilAssOrderingElement constructor.
getStorageValue1(int $ordering_type)
getImageThumbnailPrefix()
setImageRemovalRequest($imageRemovalRequest)
setImagePathWeb($imagePathWeb)
setImageThumbnailPrefix($imageThumbnailPrefix)
setUploadImageName($uploadImageName)
withPosition(int $position)
setRandomIdentifier(int $random_identifier)
static $objectInstanceCounter
withRandomIdentifier(int $id)
getPresentationImageUrl()
isSameElement(ilAssOrderingElement $element)
setIndentation(int $indentation)
int $random_identifier
this identifier is generated randomly it is recycled for known elements
setUploadImageFile($uploadImageFile)
setSolutionIdentifier(int $solution_identifier)
withSolutionIdentifier(int $id)
bool $imageRemovalRequest
getStorageValue2(int $ordering_type)
int $solution_identifier
this identifier is used to identify elements and is stored together with the set position and indenta...
const EXPORT_IDENT_PROPERTY_SEPARATOR
setPosition(int $position)
if($clientAssertionType !='urn:ietf:params:oauth:client-assertion-type:jwt-bearer'|| $grantType !='client_credentials') $parts