ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
Public Member Functions | |
__construct () | |
setPersisting (bool $a_value) | |
isPersisting () | |
setTilePreviews (bool $a_value) | |
hasTilePreviews () | |
isPreviewPossible () | |
setPreviewEnabled (bool $a_value) | |
isPreviewEnabled () | |
setMaximumPreviews (int $max_previews) | |
getMaximumPreviews () | |
setImageSize (int $image_size) | |
getImageSize () | |
setImageQuality (int $quality) | |
getImageQuality () | |
![]() | |
__construct (string $a_module="common", bool $a_disabled_cache=false) | |
getModule () | |
read () | |
get (string $a_keyword, ?string $a_default_value=null) | |
get setting More... | |
deleteAll () | |
deleteLike (string $a_like) | |
delete (string $a_keyword) | |
getAll () | |
set (string $a_key, string $a_val) | |
setScormDebug (string $a_key, string $a_val) | |
Data Fields | |
const | V_MAX_PREVIEWS_DEFAULT = 5 |
const | V_MAX_PREVIEWS_MIN = 1 |
const | V_MAX_PREVIEWS_MAX = 100 |
const | V_IMAGE_SIZE_DEFAULT = 868 |
const | V_IMAGE_SIZE_MIN = 50 |
const | V_IMAGE_SIZE_MAX = 1000 |
const | MODULE_NAME = 'preview' |
![]() | |
array | $setting = array() |
string | $module = "" |
Private Member Functions | |
adjustNumeric (int $value, int $min, int $max, int $default) | |
strToBool (string $value) | |
boolToStr (bool $value) | |
intToStr (int $int) | |
strToInt (string $str) | |
Private Attributes | |
const | V_IMAGE_QUALITY_DEFAULT = 85 |
const | V_IMAGE_QUALITY_MIN = 1 |
const | V_IMAGE_QUALITY_MAX = 100 |
const | F_PREVIEW_ENABLED = 'preview_enabled' |
const | F_MAX_PREVIEWS_PER_OBJECT = 'max_previews_per_object' |
const | F_PREVIEW_IMAGE_SIZE = 'preview_image_size' |
const | F_PREVIEW_PERSISTING = 'preview_persisting' |
const | F_PREVIEW_IMAGE_QUALITY = 'preview_image_quality' |
const | F_TILE_PREVIEWS = 'tile_previews' |
ImagickEngine | $imagick |
Additional Inherited Members | |
![]() | |
static | _lookupValue (string $a_module, string $a_keyword) |
static | _getValueType () |
Get the type of the value column in the database. More... | |
static | _changeValueType (string $a_new_type='text') |
change the type of the value column in the database More... | |
static | _getLongerSettings (int $a_limit=4000) |
get a list of setting records with values loger than a limit More... | |
![]() | |
ilDBInterface | $db |
bool | $cache_disabled = false |
Definition at line 28 of file Settings.php.
ILIAS\components\File\Preview\Settings::__construct | ( | ) |
Definition at line 82 of file Settings.php.
References ILIAS\GlobalScreen\Provider\__construct().
|
private |
Definition at line 174 of file Settings.php.
References ILIAS\Repository\int().
Referenced by ILIAS\components\File\Preview\Settings\setImageQuality(), ILIAS\components\File\Preview\Settings\setImageSize(), and ILIAS\components\File\Preview\Settings\setMaximumPreviews().
|
private |
Definition at line 199 of file Settings.php.
Referenced by ILIAS\components\File\Preview\Settings\setPersisting(), ILIAS\components\File\Preview\Settings\setPreviewEnabled(), and ILIAS\components\File\Preview\Settings\setTilePreviews().
ILIAS\components\File\Preview\Settings::getImageQuality | ( | ) |
Definition at line 169 of file Settings.php.
References ILIAS\components\File\Preview\Settings\strToInt().
ILIAS\components\File\Preview\Settings::getImageSize | ( | ) |
Definition at line 153 of file Settings.php.
References ILIAS\components\File\Preview\Settings\strToInt().
ILIAS\components\File\Preview\Settings::getMaximumPreviews | ( | ) |
Definition at line 137 of file Settings.php.
References ILIAS\components\File\Preview\Settings\strToInt().
ILIAS\components\File\Preview\Settings::hasTilePreviews | ( | ) |
Definition at line 103 of file Settings.php.
References ILIAS\components\File\Preview\Settings\strToBool().
|
private |
Definition at line 204 of file Settings.php.
Referenced by ILIAS\components\File\Preview\Settings\setImageQuality(), ILIAS\components\File\Preview\Settings\setImageSize(), and ILIAS\components\File\Preview\Settings\setMaximumPreviews().
ILIAS\components\File\Preview\Settings::isPersisting | ( | ) |
Definition at line 93 of file Settings.php.
References ILIAS\components\File\Preview\Settings\strToBool().
ILIAS\components\File\Preview\Settings::isPreviewEnabled | ( | ) |
Definition at line 118 of file Settings.php.
References ILIAS\components\File\Preview\Settings\isPreviewPossible(), and ILIAS\components\File\Preview\Settings\strToBool().
ILIAS\components\File\Preview\Settings::isPreviewPossible | ( | ) |
Definition at line 108 of file Settings.php.
Referenced by ILIAS\components\File\Preview\Settings\isPreviewEnabled().
ILIAS\components\File\Preview\Settings::setImageQuality | ( | int | $quality | ) |
Definition at line 158 of file Settings.php.
References ILIAS\components\File\Preview\Settings\adjustNumeric(), and ILIAS\components\File\Preview\Settings\intToStr().
ILIAS\components\File\Preview\Settings::setImageSize | ( | int | $image_size | ) |
Definition at line 142 of file Settings.php.
References ILIAS\components\File\Preview\Settings\adjustNumeric(), and ILIAS\components\File\Preview\Settings\intToStr().
ILIAS\components\File\Preview\Settings::setMaximumPreviews | ( | int | $max_previews | ) |
Definition at line 126 of file Settings.php.
References ILIAS\components\File\Preview\Settings\adjustNumeric(), and ILIAS\components\File\Preview\Settings\intToStr().
ILIAS\components\File\Preview\Settings::setPersisting | ( | bool | $a_value | ) |
Definition at line 88 of file Settings.php.
References ILIAS\components\File\Preview\Settings\boolToStr().
ILIAS\components\File\Preview\Settings::setPreviewEnabled | ( | bool | $a_value | ) |
Definition at line 113 of file Settings.php.
References ILIAS\components\File\Preview\Settings\boolToStr().
ILIAS\components\File\Preview\Settings::setTilePreviews | ( | bool | $a_value | ) |
Definition at line 98 of file Settings.php.
References ILIAS\components\File\Preview\Settings\boolToStr().
|
private |
Definition at line 194 of file Settings.php.
Referenced by ILIAS\components\File\Preview\Settings\hasTilePreviews(), ILIAS\components\File\Preview\Settings\isPersisting(), and ILIAS\components\File\Preview\Settings\isPreviewEnabled().
|
private |
Definition at line 209 of file Settings.php.
Referenced by ILIAS\components\File\Preview\Settings\getImageQuality(), ILIAS\components\File\Preview\Settings\getImageSize(), and ILIAS\components\File\Preview\Settings\getMaximumPreviews().
|
private |
Definition at line 80 of file Settings.php.
|
private |
Definition at line 60 of file Settings.php.
|
private |
Definition at line 56 of file Settings.php.
|
private |
Definition at line 72 of file Settings.php.
|
private |
Definition at line 64 of file Settings.php.
|
private |
Definition at line 68 of file Settings.php.
|
private |
Definition at line 76 of file Settings.php.
const ILIAS\components\File\Preview\Settings::MODULE_NAME = 'preview' |
Definition at line 51 of file Settings.php.
|
private |
Definition at line 41 of file Settings.php.
|
private |
Definition at line 49 of file Settings.php.
|
private |
Definition at line 45 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_IMAGE_SIZE_DEFAULT = 868 |
Definition at line 34 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_IMAGE_SIZE_MAX = 1000 |
Definition at line 36 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_IMAGE_SIZE_MIN = 50 |
Definition at line 35 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_MAX_PREVIEWS_DEFAULT = 5 |
Definition at line 30 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_MAX_PREVIEWS_MAX = 100 |
Definition at line 32 of file Settings.php.
const ILIAS\components\File\Preview\Settings::V_MAX_PREVIEWS_MIN = 1 |
Definition at line 31 of file Settings.php.