ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
FilenameOverridePreProcessor.php
Go to the documentation of this file.
1 <?php
2 
4 
8 
19 {
20 
24  private $filename;
25 
26 
32  public function __construct($filename)
33  {
34  $this->filename = $filename;
35  }
36 
37 
42  {
43  $metadata->setFilename($this->filename);
44 
45  return new ProcessingStatus(ProcessingStatus::OK, 'Filename changed');
46  }
47 }
$metadata['__DYNAMIC:1__']
$stream
PHP stream implementation.
__construct($filename)
BlacklistExtensionPreProcessor constructor.
setFilename($filename)
Overwrite the current filename.
Definition: Metadata.php:87
Interface FileStream.
Definition: FileStream.php:20