ILIAS  trunk Revision v12.0_alpha-1540-g00f839d5fa1
ILIAS\WebDAV\Mount\BaseInstructions Class Reference
+ Inheritance diagram for ILIAS\WebDAV\Mount\BaseInstructions:
+ Collaboration diagram for ILIAS\WebDAV\Mount\BaseInstructions:

Public Member Functions

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

Protected Member Functions

 fillPlaceholdersForMountInstructions (array $mount_instructions)
 

Detailed Description

Definition at line 25 of file BaseInstructions.php.

Constructor & Destructor Documentation

◆ __construct()

ILIAS\WebDAV\Mount\BaseInstructions::__construct ( protected Repository  $repo,
protected UriBuilder  $uri_builder,
protected ilSetting  $settings,
protected string  $language 
)

Definition at line 27 of file BaseInstructions.php.

32 {
33 }

Member Function Documentation

◆ fillPlaceholdersForMountInstructions()

ILIAS\WebDAV\Mount\BaseInstructions::fillPlaceholdersForMountInstructions ( array  $mount_instructions)
abstractprotected

◆ getMountInstructionsAsArray()

ILIAS\WebDAV\Mount\BaseInstructions::getMountInstructionsAsArray ( array  $mount_instructions = [])

Definition at line 35 of file BaseInstructions.php.

35 : array
36 {
37 if ($mount_instructions === []) {
38 $document = $this->repo->getMountInstructionsByLanguage($this->language);
39 $processed = $document->getProcessedInstructions();
40 $mount_instructions = json_decode($processed, true);
41 }
42
43 return $this->fillPlaceholdersForMountInstructions($mount_instructions);
44 }
fillPlaceholdersForMountInstructions(array $mount_instructions)

References ILIAS\WebDAV\Mount\BaseInstructions\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: