ILIAS  trunk Revision v11.0_alpha-1749-g1a06bdef097
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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

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.

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

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  }
language()
description: > Example for rendring a language glyph.
Definition: language.php:41
fillPlaceholdersForMountInstructions(array $mount_instructions)
+ Here is the call graph for this function:

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