ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
DisableResources.php
Go to the documentation of this file.
1<?php
2
4{
8 public $name = 'DisableResources';
9
16 public function filter(&$uri, $config, $context)
17 {
18 return !$context->get('EmbeddedURI', true);
19 }
20}
21
22// vim: et sw=4 sts=4
An exception for terminatinating execution or to throw for unit testing.
Chainable filters for custom URI processing.
Definition: URIFilter.php:29
$config
Definition: bootstrap.php:15
$context
Definition: webdav.php:25