|
ILIAS
release_10 Revision v10.1-43-ga1241a92c2f
|
Inheritance diagram for ilBadgePictureMachine:
Collaboration diagram for ilBadgePictureMachine: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... | |
Public Member Functions inherited from ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\AbstractMachine | |
| __construct () | |
| FlavourMachines must be able to be created without further dependencies. More... | |
| withEngine (Engine $engine) | |
| The demanded Engine will be passed here. More... | |
| getEngine () | |
Public Member Functions inherited from ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine | |
| processStream (FileInformation $information, FileStream $stream, FlavourDefinition $for_definition) | |
Data Fields | |
| const | ID = 'badge_image_resize_machine' |
Protected Member Functions | |
| cropImage (FileStream $stream, int $size) | |
Private Attributes | |
| const | FULL_QUALITY_SIZE_THRESHOLD = 100 |
| CropSquare | $crop |
| ilBadgePictureDefinition | $definition = null |
| FileInformation | $information = null |
| ExtractPages | $extract_pages |
Additional Inherited Members | |
Protected Attributes inherited from ILIAS\ResourceStorage\Flavour\Machine\DefaultMachines\AbstractMachine | |
| Engine | $engine = null |
Definition at line 34 of file class.ilBadgePictureMachine.php.
| ilBadgePictureMachine::__construct | ( | ) |
FlavourMachines must be able to be created without further dependencies.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 46 of file class.ilBadgePictureMachine.php.
References ILIAS\GlobalScreen\Provider\__construct().
Here is the call graph for this function:| ilBadgePictureMachine::canHandleDefinition | ( | FlavourDefinition | $definition | ) |
Check if a corresponding configuration can be processed by this Machine.
Implements ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine.
Definition at line 58 of file class.ilBadgePictureMachine.php.
|
protected |
Definition at line 105 of file class.ilBadgePictureMachine.php.
Referenced by dependsOnEngine().
Here is the caller graph for this function:| ilBadgePictureMachine::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 63 of file class.ilBadgePictureMachine.php.
References $information, cropImage(), and ILIAS\ResourceStorage\Flavour\Machine\FlavourMachine\processStream().
Here is the call graph for this function:| ilBadgePictureMachine::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 53 of file class.ilBadgePictureMachine.php.
|
private |
Definition at line 41 of file class.ilBadgePictureMachine.php.
|
private |
Definition at line 42 of file class.ilBadgePictureMachine.php.
|
private |
Definition at line 44 of file class.ilBadgePictureMachine.php.
|
private |
Definition at line 43 of file class.ilBadgePictureMachine.php.
Referenced by dependsOnEngine().
|
private |
Definition at line 39 of file class.ilBadgePictureMachine.php.
| const ilBadgePictureMachine::ID = 'badge_image_resize_machine' |
Definition at line 38 of file class.ilBadgePictureMachine.php.
Referenced by ilBadgePictureDefinition\getFlavourMachineId().