19declare(strict_types=1);
29 $styleDefinition =
$DIC[
"styleDefinition"] ??
null;
32 $default_img =
"./assets/images/" . $image_path;
40 if (is_object($styleDefinition) && $current_skin !=
"default") {
41 $image_dir = $styleDefinition->getImageDirectory($current_style);
42 $skin_img =
"./Customizing/skin/" .
43 $current_skin .
"/" . $current_style .
"/" . $image_dir .
"/" . $image_path;
46 if (file_exists($skin_img)) {
resolveImagePath(string $image_path)
static getCurrentSkin()
get the current skin use always this function instead of getting the account's skin the current skin ...
static getCurrentStyle()
get the current style or sub style use always this function instead of getting the account's style th...
Some Components need to resolve pathes to image-files.