3declare(strict_types=1);
293 switch ($orderingType) {
308 switch ($orderingType) {
386 return implode(self::EXPORT_IDENT_PROPERTY_SEPARATOR, $ident);
391 if (!strlen($ident)) {
395 $parts = explode(self::EXPORT_IDENT_PROPERTY_SEPARATOR, $ident);
407 list($randomId, $solutionId, $pos, $indent) = explode(
408 self::EXPORT_IDENT_PROPERTY_SEPARATOR,
421 $clone = clone $this;
422 $clone->random_identifier =
$id;
427 $clone = clone $this;
428 $clone->solution_identifier =
$id;
433 $clone = clone $this;
439 $clone = clone $this;
445 $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)
getStorageValue1($orderingType)
int $indentation
the correct width of indentation for the element
__construct(int $id=-1)
ilAssOrderingElement constructor.
getImageThumbnailPrefix()
setImageRemovalRequest($imageRemovalRequest)
setImagePathWeb($imagePathWeb)
setImageThumbnailPrefix($imageThumbnailPrefix)
setUploadImageName($uploadImageName)
withPosition(int $position)
setRandomIdentifier(int $random_identifier)
static $objectInstanceCounter
withRandomIdentifier(int $id)
getPresentationImageUrl()
setImagePathFs($imagePathFs)
isSameElement(ilAssOrderingElement $element)
setIndentation(int $indentation)
int $random_identifier
this identifier is generated randomly it is recycled for known elements
setUploadImageFile($uploadImageFile)
getStorageValue2($orderingType)
setSolutionIdentifier(int $solution_identifier)
withSolutionIdentifier(int $id)
bool $imageRemovalRequest
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