Метод |
Описание |
|
checkImgPath ( ) : boolean |
checks image path for existence - if not found use img from fallback theme |
|
checkVersion ( string $version ) : boolean |
checks theme version against $version
returns true if theme version is equal or higher to $version |
|
getCssGradient ( string $start_color, string $end_color ) : string |
Generates code for CSS gradient using various browser extensions. |
|
getFontSize ( ) : String |
Gets currently configured font size. |
|
getId ( ) : string |
returns id |
|
getImgPath ( string $file = null ) : string |
Returns the path to image for the theme. |
|
getLayoutFile ( ) : string |
returns layout file |
|
getName ( ) : string |
returns name |
|
getPath ( ) : string |
returns path to theme |
|
getPrintPreview ( ) : string |
Renders the preview for this theme |
|
getSpriteData ( ) : array |
Loads sprites data |
|
getVersion ( ) : string |
returns version |
|
load ( string $folder ) : Theme | false |
returns theme object loaded from given folder
or false if theme is invalid |
|
loadCss ( ) : boolean |
load css (send to stdout, normally the browser) |
|
loadInfo ( ) : boolean |
Loads theme information |
|
setId ( string $id ) : void |
sets id |
|
setImgPath ( string $path ) : void |
Sets path to images for the theme |
|
setName ( string $name ) : void |
sets name |
|
setPath ( string $path ) : void |
set path to theme |
|
setVersion ( string $version ) : void |
sets version |
|