ILIAS
trunk Revision v11.0_alpha-1761-g6dbbfa7b760
|
Public Member Functions | |
array | __construct () |
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... | |
getSizes () | |
getQuality () | |
Private Attributes | |
const | ID = '90ffcb9513daf30de2f5b5de82d7edee162f5dbc9fd16713810cf75326849dc2' |
int | $quality = 50 |
array | $sizes |
Definition at line 26 of file class.ilUserProfilePictureDefinition.php.
array ilUserProfilePictureDefinition::__construct | ( | ) |
Definition at line 39 of file class.ilUserProfilePictureDefinition.php.
ilUserProfilePictureDefinition::getFlavourMachineId | ( | ) |
Defines the ID of the machine that supports this definition.
The machine MUST exist.
Implements ILIAS\ResourceStorage\Flavour\Definition\FlavourDefinition.
Definition at line 48 of file class.ilUserProfilePictureDefinition.php.
References ilUserProfilePictureMachine\ID.
ilUserProfilePictureDefinition::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 43 of file class.ilUserProfilePictureDefinition.php.
ilUserProfilePictureDefinition::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 53 of file class.ilUserProfilePictureDefinition.php.
ilUserProfilePictureDefinition::getQuality | ( | ) |
Definition at line 76 of file class.ilUserProfilePictureDefinition.php.
References $quality.
ilUserProfilePictureDefinition::getSizes | ( | ) |
Definition at line 71 of file class.ilUserProfilePictureDefinition.php.
References $sizes.
ilUserProfilePictureDefinition::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 58 of file class.ilUserProfilePictureDefinition.php.
ilUserProfilePictureDefinition::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 66 of file class.ilUserProfilePictureDefinition.php.
|
private |
Definition at line 30 of file class.ilUserProfilePictureDefinition.php.
Referenced by getQuality().
|
private |
Definition at line 32 of file class.ilUserProfilePictureDefinition.php.
Referenced by getSizes().
|
private |
Definition at line 28 of file class.ilUserProfilePictureDefinition.php.