ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct () | |
getHash () | |
getLabel () | |
isNotable () | |
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 | |
Definition at line 12 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::__construct | ( | ) |
Definition at line 34 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References getFileHash().
ilStyleReplaceResponsiveLogoObjective::achieve | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 80 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References maybeReplaceResponsiveIcon().
|
protected |
Returns the sha1-sum of the given file if it exists.
Definition at line 124 of file class.ilStyleReplaceResponsiveLogoObjective.php.
Referenced by __construct(), and maybeReplaceResponsiveIcon().
ilStyleReplaceResponsiveLogoObjective::getHash | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 48 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::getLabel | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 56 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::getPreconditions | ( | Environment | $environment | ) |
Implements ILIAS\Setup\Objective.
Definition at line 72 of file class.ilStyleReplaceResponsiveLogoObjective.php.
ilStyleReplaceResponsiveLogoObjective::isNotable | ( | ) |
Implements ILIAS\Setup\Objective.
Definition at line 64 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 109 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 15 of file class.ilStyleReplaceResponsiveLogoObjective.php.
|
protected |
Definition at line 14 of file class.ilStyleReplaceResponsiveLogoObjective.php.