ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilWebDAVBaseMountInstructions Class Reference
+ Inheritance diagram for ilWebDAVBaseMountInstructions:
+ Collaboration diagram for ilWebDAVBaseMountInstructions:

Public Member Functions

 __construct (ilWebDAVMountInstructionsRepository $a_repo, ilWebDAVUriBuilder $a_uri_builder, ilSetting $a_settings, string $language)
 
 getMountInstructionsAsArray (array $mount_instructions=[])
 

Protected Member Functions

 fillPlaceholdersForMountInstructions (array $mount_instructions)
 

Protected Attributes

 $repo
 
 $uri_builder
 
 $settings
 
 $language
 

Detailed Description

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

Constructor & Destructor Documentation

◆ __construct()

ilWebDAVBaseMountInstructions::__construct ( ilWebDAVMountInstructionsRepository  $a_repo,
ilWebDAVUriBuilder  $a_uri_builder,
ilSetting  $a_settings,
string  $language 
)

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

24 {
25 $this->repo = $a_repo;
26 $this->uri_builder = $a_uri_builder;
27 $this->settings = $a_settings;
28 $this->language = $language;
29 }
language()
Definition: language.php:2
settings()
Definition: settings.php:2

References $language, language(), and settings().

+ Here is the call graph for this function:

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 language().

+ Here is the call graph for this function:

Field Documentation

◆ $language

ilWebDAVBaseMountInstructions::$language
protected

◆ $repo

ilWebDAVBaseMountInstructions::$repo
protected

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

◆ $settings

ilWebDAVBaseMountInstructions::$settings
protected

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

◆ $uri_builder

ilWebDAVBaseMountInstructions::$uri_builder
protected

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


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