ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
MaxNestingFileSystemStorageHandler.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
27 
35 {
36  public function __construct(
37  Filesystem $filesystem,
39  bool $determine_linking_possible = false
40  ) {
41  parent::__construct($filesystem, $location, $determine_linking_possible);
42  $this->path_generator = new MaxNestingPathGenerator();
43  }
44 
48  public function getID(): string
49  {
50  return 'fsv2';
51  }
52 
53  public function getStorageLocationBasePath(): string
54  {
55  return StorageHandlerFactory::BASE_DIRECTORY . '/' . $this->getID();
56  }
57 
58  public function isPrimary(): bool
59  {
60  return true;
61  }
62 }
const STORAGE
The filesystem outside of the ilias web root.
Definition: Location.php:40
getStorageLocationBasePath()
This is the place in the filesystem where the containers (nested) get created.
__construct(Filesystem $filesystem, int $location=Location::STORAGE, bool $determine_linking_possible=false)
__construct(Container $dic, ilPlugin $plugin)
Class FlySystemFileAccessTest disabled disabled disabled.