|
ILIAS
trunk Revision v13.0_alpha-62-g3b72d83f2e5
|
Class PreProcessorManagerImpl. More...
Inheritance diagram for ILIAS\FileUpload\Processor\PreProcessorManagerImpl:
Collaboration diagram for ILIAS\FileUpload\Processor\PreProcessorManagerImpl:Public Member Functions | |
| __construct (PreProcessorCollection $collection) | |
| with (PreProcessor $processor) | |
| @inheritDoc More... | |
| process (FileStream $stream, Metadata $metadata) | |
| @inheritDoc More... | |
| with (PreProcessor $processor) | |
| Adds the processor to the current manager. More... | |
| process (FileStream $stream, Metadata $metadata) | |
| Invokes the registered processors until one rejects the file or fails. More... | |
Private Attributes | |
| array | $processors = [] |
Class PreProcessorManagerImpl.
A pool of preprocessors which can be executed for a particular stream. If once of the processors fail while processing a stream, it will get rejected to protect ILIAS.
Definition at line 37 of file PreProcessorManagerImpl.php.
| ILIAS\FileUpload\Processor\PreProcessorManagerImpl::__construct | ( | PreProcessorCollection | $collection | ) |
Definition at line 44 of file PreProcessorManagerImpl.php.
References ILIAS\FileUpload\Processor\PreProcessorCollection\processors().
Here is the call graph for this function:| ILIAS\FileUpload\Processor\PreProcessorManagerImpl::process | ( | FileStream | $stream, |
| Metadata | $metadata | ||
| ) |
@inheritDoc
Implements ILIAS\FileUpload\Processor\PreProcessorManager.
Definition at line 63 of file PreProcessorManagerImpl.php.
References ILIAS\FileUpload\DTO\ProcessingStatus\DENIED, ILIAS\FileUpload\DTO\ProcessingStatus\OK, and ILIAS\FileUpload\DTO\ProcessingStatus\REJECTED.
Referenced by ILIAS\FileUpload\Processor\PreProcessorManagerImplTest\testProcessWithProcessorsFromCollectionWhichShouldSucceed().
Here is the caller graph for this function:| ILIAS\FileUpload\Processor\PreProcessorManagerImpl::with | ( | PreProcessor | $processor | ) |
@inheritDoc
Implements ILIAS\FileUpload\Processor\PreProcessorManager.
Definition at line 54 of file PreProcessorManagerImpl.php.
Referenced by ILIAS\FileUpload\Processor\PreProcessorManagerImplTest\testProcessWithProcessorsFromCollectionWhichShouldSucceed().
Here is the caller graph for this function:
|
private |
Definition at line 42 of file PreProcessorManagerImpl.php.