|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ZipStructureMachine:
Collaboration diagram for ZipStructureMachine:Public Member Functions | |
| __construct () | |
| FlavourMachines must be able to be created without further dependencies. More... | |
| getId () | |
| canHandleDefinition (FlavourDefinition $definition) | |
| Check if a corresponding configuration can be processed by this Machine. More... | |
| dependsOnEngine () | |
| Return the class name of the Engine that is required for this Machine to work. More... | |
| withEngine (Engine $engine) | |
| The demanded Engine will be passed here. More... | |
| getEngine () | |
| processStream (FileInformation $information, FileStream $stream, FlavourDefinition $for_definition) | |
Definition at line 35 of file ZipStructureMachine.php.
| ZipStructureMachine::__construct | ( | ) |
FlavourMachines must be able to be created without further dependencies.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 37 of file ZipStructureMachine.php.
| ZipStructureMachine::canHandleDefinition | ( | FlavourDefinition | $definition | ) |
Check if a corresponding configuration can be processed by this Machine.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 46 of file ZipStructureMachine.php.
| ZipStructureMachine::dependsOnEngine | ( | ) |
Return the class name of the Engine that is required for this Machine to work.
Returning null will result in a NullEngine passed to the Machine.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 51 of file ZipStructureMachine.php.
| ZipStructureMachine::getEngine | ( | ) |
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 61 of file ZipStructureMachine.php.
| ZipStructureMachine::getId | ( | ) |
If you ever change the ID, FlavourDefinitions may no longer process anything with your machine that previously designated you as the processing machine.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 41 of file ZipStructureMachine.php.
| ZipStructureMachine::processStream | ( | FileInformation | $information, |
| FileStream | $stream, | ||
| FlavourDefinition | $for_definition | ||
| ) |
| FileInformation | $information | of the original File. |
| FileStream | $stream | of the original File. |
| FlavourDefinition | $for_definition | the definition for which the stream should be processed. |
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 66 of file ZipStructureMachine.php.
References $data, and ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition\persist().
Here is the call graph for this function:| ZipStructureMachine::withEngine | ( | Engine | $engine | ) |
The demanded Engine will be passed here.
If the Machine does not depend on an Engine, a NullEngine
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 56 of file ZipStructureMachine.php.