ILIAS  release_8 Revision v8.25-1-g13de6a5eca6
ilWebDAVBaseMountInstructions Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...

+ Inheritance diagram for ilWebDAVBaseMountInstructions:
+ Collaboration diagram for ilWebDAVBaseMountInstructions:

Public Member Functions

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

Protected Member Functions

 fillPlaceholdersForMountInstructions (array $mount_instructions)
 

Protected Attributes

ilWebDAVMountInstructionsRepository $repo
 
ilWebDAVUriBuilder $uri_builder
 
ilSetting $settings
 
string $language
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning

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

Constructor & Destructor Documentation

◆ __construct()

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

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 40 of file class.ilWebDAVBaseMountInstructions.php.

40 : array
41 {
42 if (count($mount_instructions) == 0) {
43 $document = $this->repo->getMountInstructionsByLanguage($this->language);
44 $processed = $document->getProcessedInstructions();
45 $mount_instructions = json_decode($processed, true);
46 }
47
48 return $this->fillPlaceholdersForMountInstructions($mount_instructions);
49 }
fillPlaceholdersForMountInstructions(array $mount_instructions)

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

+ Here is the call graph for this function:

Field Documentation

◆ $language

string ilWebDAVBaseMountInstructions::$language
protected

◆ $repo

ilWebDAVMountInstructionsRepository ilWebDAVBaseMountInstructions::$repo
protected

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

Referenced by __construct().

◆ $settings

ilSetting ilWebDAVBaseMountInstructions::$settings
protected

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

Referenced by __construct().

◆ $uri_builder

ilWebDAVUriBuilder ilWebDAVBaseMountInstructions::$uri_builder
protected

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

Referenced by __construct().


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