ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Public Member Functions | |
__construct () | |
getHash () | |
getLabel () | |
isNotable () | |
isApplicable (Environment $environment) | |
Get to know whether the objective is applicable.Don't change the environment or cause changes on services in the environment. Just check if this objective needs to be achieved, either currently or at all. In case of doubt whether the objective is applicable or not return true. More... | |
getPreconditions (Environment $environment) | |
achieve (Environment $environment) | |
Protected Member Functions | |
maybeReplaceResponsiveIcon (string $skin_path) | |
Replaces the responsive header-icon with the common header-icon, if the common icon is different from the ilias icon but the responsive icon is not. More... | |
getFileHash (string $absolute_file_path) | |
Returns the sha1-sum of the given file if it exists. More... | |
Protected Attributes | |
const | RESPONSIVE_LOGO_PATH = '/images/HeaderIconResponsive.svg' |
const | COMMON_LOGO_PATH = '/images/HeaderIcon.svg' |
$delos_responsive_logo_hash | |
$delos_common_logo_hash | |
$delos_path | |
$ilias_path | |
$skins_path | |
Definition at line 12 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::__construct | ( | ) |
Definition at line 38 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References getFileHash().
ilStyleReplaceResponsiveLogoObjective::achieve | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 94 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References maybeReplaceResponsiveIcon().
|
protected |
Returns the sha1-sum of the given file if it exists.
Definition at line 131 of file class.ilStyleReplaceResponsiveLogoObjective.php.
Referenced by __construct(), and maybeReplaceResponsiveIcon().
ilStyleReplaceResponsiveLogoObjective::getHash | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 53 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::getLabel | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 61 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 86 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::isApplicable | ( | Environment | $environment | ) |
Get to know whether the objective is applicable.Don't change the environment or cause changes on services in the environment. Just check if this objective needs to be achieved, either currently or at all. In case of doubt whether the objective is applicable or not return true.
Implements ILIAS\Setup\Objective.
Definition at line 77 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::isNotable | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 69 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Replaces the responsive header-icon with the common header-icon, if the common icon is different from the ilias icon but the responsive icon is not.
Definition at line 116 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References getFileHash().
Referenced by achieve().
|
protected |
Definition at line 24 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 28 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 20 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 32 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 36 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 15 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 14 of file class.ilStyleReplaceResponsiveLogoObjective.php.