ILIAS
trunk Revision v12.0_alpha-1540-g00f839d5fa1
◀ ilDoc Overview
DeliverPhpFilter.php
Go to the documentation of this file.
1
<?php
2
19
declare(strict_types=1);
20
21
namespace
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
;
22
30
final
class
DeliverPhpFilter
implements
VersionParameterFilter
31
{
32
private
const
NEEDLE
=
'/deliver.php/'
;
33
34
public
function
shouldAppend
(
string
$content): bool
35
{
36
return
!str_contains($content, self::NEEDLE);
37
}
38
}
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\DeliverPhpFilter
Excludes URLs delivered by deliver.php from the resource version parameter.
Definition:
DeliverPhpFilter.php:31
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\DeliverPhpFilter\NEEDLE
const NEEDLE
Definition:
DeliverPhpFilter.php:32
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\DeliverPhpFilter\shouldAppend
shouldAppend(string $content)
Definition:
DeliverPhpFilter.php:34
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media\VersionParameterFilter
Decides whether the resource version parameter (see {.
Definition:
VersionParameterFilter.php:32
ILIAS\GlobalScreen\Scope\Layout\MetaContent\Media
Definition:
AbstractCollection.php:21
components
ILIAS
GlobalScreen
src
Scope
Layout
MetaContent
Media
DeliverPhpFilter.php
Generated on Wed Jun 3 2026 23:04:56 for ILIAS by
1.9.4 (using
Doxyfile
)