ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
None.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
26
30class None extends BaseCheck implements Check
31{
32 public function canUnlock(): Capabilities
33 {
34 return Capabilities::NONE;
35 }
36
37 public function maybeUnlock(
38 Capability $capability,
39 CheckHelpers $helpers,
42 ): Capability {
43 return $capability->withUnlocked(true);
44 }
45
46 public function maybeBuildURI(Capability $capability, CheckHelpers $helpers, Context $context): Capability
47 {
48 return $capability;
49 }
50
51}
maybeUnlock(Capability $capability, CheckHelpers $helpers, \ilObjFileInfo $info, Context $context,)
Definition: None.php:37
maybeBuildURI(Capability $capability, CheckHelpers $helpers, Context $context)
Definition: None.php:46
return true
return['delivery_method'=> 'php',]
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
$info
Definition: entry_point.php:21
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: BaseCheck.php:21
$context
Definition: webdav.php:31