LamPageStyling
in package
Creates styles for pages.
Table of Contents
- getBackgroundImageNames() : array<string|int, string>
- Returns a list of installed background image names.
- getMainStyleTag() : string
- Creates the main style tag for the page header.
Methods
getBackgroundImageNames()
Returns a list of installed background image names.
public
static getBackgroundImageNames() : array<string|int, string>
Return values
array<string|int, string> —image file names
getMainStyleTag()
Creates the main style tag for the page header.
public
static getMainStyleTag(string $backgroundColor, string $primaryColor, string $secondaryColor, string $backgroundImage[, string $backgroundImagePrefix = '../..' ]) : string
Parameters
- $backgroundColor : string
-
background color
- $primaryColor : string
-
primary color
- $secondaryColor : string
-
secondary color
- $backgroundImage : string
-
background image
- $backgroundImagePrefix : string = '../..'
-
folder prefix
Return values
string —style tag