ILIAS
trunk Revision v11.0_alpha-1744-gb0451eebef4
|
Public Member Functions | |
getId () | |
getFlavourMachineId () | |
Defines the ID of the machine that supports this definition. More... | |
getInternalName () | |
This defines the speaky internal name of the definition, as the consumer would like to use it, e.g. More... | |
getVariantName () | |
If a definition can be used in several variants (e.g. More... | |
persist () | |
Define whether the generated flavor and the respective streams should be persisted, or whether they should only be generated and used in-memory. More... | |
sleep (array $data) | |
wake (string $data) | |
Definition at line 27 of file ZipStructureDefinition.php.
ZipStructureDefinition::getFlavourMachineId | ( | ) |
Defines the ID of the machine that supports this definition.
The machine MUST exist.
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 34 of file ZipStructureDefinition.php.
ZipStructureDefinition::getId | ( | ) |
If you ever change the ID, existing - maybe persisted - flavours created based on this definition will not be found anymore and have to be regenerated.
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 29 of file ZipStructureDefinition.php.
ZipStructureDefinition::getInternalName | ( | ) |
This defines the speaky internal name of the definition, as the consumer would like to use it, e.g.
to be able to distinguish between several flavors.
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 39 of file ZipStructureDefinition.php.
ZipStructureDefinition::getVariantName | ( | ) |
If a definition can be used in several variants (e.g.
configurable size of a thumbnail), such variants must be distinguishable. For example, a variant name may contain "{height}x{width}" if these are configurable values.
The Variant-Name MUST be less than 768 characters long!
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 44 of file ZipStructureDefinition.php.
References null.
ZipStructureDefinition::persist | ( | ) |
Define whether the generated flavor and the respective streams should be persisted, or whether they should only be generated and used in-memory.
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 49 of file ZipStructureDefinition.php.
ZipStructureDefinition::sleep | ( | array | $data | ) |
Definition at line 54 of file ZipStructureDefinition.php.
ZipStructureDefinition::wake | ( | string | $data | ) |
Definition at line 59 of file ZipStructureDefinition.php.