Package package
This package provides functions to work with Styles.
Package DE_EPAGES::Design::API::Style
@EXPORT_OK |
Functions
AddStyle
Adds a Style to the shops style list.
Syntax |
$WantedStyle = AddStyle($Shop, $StyleTemplate); |
Input |
|
Return |
|
AddStyleLogo
Sets the logo for a style.
Syntax |
AddStyleLogo($Style, $ShopLogo, $Extension); |
Input |
|
Return |
|
DeleteStyleLogo
Sets the logo for a style.
Syntax |
DeleteStyleLogo($Style, $ShopLogo, $Extension); |
Input |
|
Return |
|
ExistsStyle
Returns true if the style with the given style template exists in this shop.
Syntax |
$Exists = ExistsStyle($Shop, $StyleTemplate); |
Input |
|
Return |
|
IsSubStyle
If StyleName contains the string "SubStyles/" return is 1
Syntax |
my $IsSubStyle = IsSubStyle($StyleName); |
Input |
|
Return |
|
Style
Returns style of this shop with the StyleName.
Syntax |
$Style = Style($Shop, $StyleName); |
Input |
|
Return |
|