ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilWebDAVBaseMountInstructions Class Reference
+ Inheritance diagram for ilWebDAVBaseMountInstructions:
+ Collaboration diagram for ilWebDAVBaseMountInstructions:

Public Member Functions

 __construct (protected ilWebDAVMountInstructionsRepository $repo, protected ilWebDAVUriBuilder $uri_builder, protected ilSetting $settings, protected string $language)
 
 getMountInstructionsAsArray (array $mount_instructions=[])
 

Protected Member Functions

 fillPlaceholdersForMountInstructions (array $mount_instructions)
 

Detailed Description

Definition at line 21 of file class.ilWebDAVBaseMountInstructions.php.

Constructor & Destructor Documentation

◆ __construct()

ilWebDAVBaseMountInstructions::__construct ( protected ilWebDAVMountInstructionsRepository  $repo,
protected ilWebDAVUriBuilder  $uri_builder,
protected ilSetting  $settings,
protected string  $language 
)

Definition at line 23 of file class.ilWebDAVBaseMountInstructions.php.

28 {
29 }

Member Function Documentation

◆ fillPlaceholdersForMountInstructions()

ilWebDAVBaseMountInstructions::fillPlaceholdersForMountInstructions ( array  $mount_instructions)
abstractprotected

Reimplemented in ilWebDAVObjectlessMountInstructions, and ilWebDAVObjectMountInstructions.

Referenced by getMountInstructionsAsArray().

+ Here is the caller graph for this function:

◆ getMountInstructionsAsArray()

ilWebDAVBaseMountInstructions::getMountInstructionsAsArray ( array  $mount_instructions = [])

Definition at line 31 of file class.ilWebDAVBaseMountInstructions.php.

31 : array
32 {
33 if (count($mount_instructions) == 0) {
34 $document = $this->repo->getMountInstructionsByLanguage($this->language);
35 $processed = $document->getProcessedInstructions();
36 $mount_instructions = json_decode($processed, true);
37 }
38
39 return $this->fillPlaceholdersForMountInstructions($mount_instructions);
40 }
fillPlaceholdersForMountInstructions(array $mount_instructions)

References fillPlaceholdersForMountInstructions(), and ILIAS\UI\examples\Symbol\Glyph\Language\language().

+ Here is the call graph for this function:

The documentation for this class was generated from the following file: