|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Inheritance diagram for ilStyleReplaceResponsiveLogoObjective:
Collaboration diagram for ilStyleReplaceResponsiveLogoObjective:Public Member Functions | |
| __construct () | |
| getHash () | |
| @inheritDoc More... | |
| getLabel () | |
| @inheritDoc More... | |
| isNotable () | |
| @inheritDoc More... | |
| getPreconditions (Environment $environment) | |
| @inheritDoc More... | |
| achieve (Environment $environment) | |
| @inheritDoc More... | |
| getHash () | |
| Get a hash for this objective. More... | |
| getLabel () | |
| Get a label that describes this objective. More... | |
| isNotable () | |
| Get to know if this is an interesting objective for a human. More... | |
| getPreconditions (Environment $environment) | |
| Objectives might depend on other objectives. More... | |
| achieve (Environment $environment) | |
| Objectives can be achieved. More... | |
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().
Here is the call graph for this function:| ilStyleReplaceResponsiveLogoObjective::achieve | ( | Environment | $environment | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 80 of file class.ilStyleReplaceResponsiveLogoObjective.php.
References maybeReplaceResponsiveIcon().
Here is the call graph for this function:
|
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().
Here is the caller graph for this function:| ilStyleReplaceResponsiveLogoObjective::getHash | ( | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 48 of file class.ilStyleReplaceResponsiveLogoObjective.php.
| ilStyleReplaceResponsiveLogoObjective::getLabel | ( | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 56 of file class.ilStyleReplaceResponsiveLogoObjective.php.
| ilStyleReplaceResponsiveLogoObjective::getPreconditions | ( | Environment | $environment | ) |
@inheritDoc
Implements ILIAS\Setup\Objective.
Definition at line 72 of file class.ilStyleReplaceResponsiveLogoObjective.php.
| ilStyleReplaceResponsiveLogoObjective::isNotable | ( | ) |
@inheritDoc
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 COMMON_LOGO_PATH, getFileHash(), and RESPONSIVE_LOGO_PATH.
Referenced by achieve().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.
Referenced by maybeReplaceResponsiveIcon().
|
protected |
Definition at line 14 of file class.ilStyleReplaceResponsiveLogoObjective.php.
Referenced by maybeReplaceResponsiveIcon().