TStyle
in package
StyleSheet Manager
Tags
Table of Contents
Properties
- $loaded : mixed
- $name : mixed
- $properties : mixed
- $styles : mixed
Methods
- __construct() : mixed
- Class Constructor
- __get() : mixed
- Executed whenever a property is read
- __set() : mixed
- Executed whenever a property is assigned
- findStyle() : mixed
- Find a style by its properties
- getContent() : mixed
- Returns the style content
- getInline() : mixed
- Return the style inline code
- getName() : mixed
- Returns the style name
- hasContent() : mixed
- Return if the style has any content
- importFromFile() : mixed
- Import style
- show() : mixed
- Show the style
Properties
$loaded
private
static mixed
$loaded
$name
private
mixed
$name
$properties
private
mixed
$properties
$styles
private
static mixed
$styles
Methods
__construct()
Class Constructor
public
__construct(mixed $name) : mixed
Parameters
- $name : mixed
__get()
Executed whenever a property is read
public
__get( $name) : mixed
Parameters
__set()
Executed whenever a property is assigned
public
__set( $name, $value) : mixed
Parameters
findStyle()
Find a style by its properties
public
static findStyle(mixed $object) : mixed
Parameters
- $object : mixed
Tags
getContent()
Returns the style content
public
getContent() : mixed
getInline()
Return the style inline code
public
getInline() : mixed
getName()
Returns the style name
public
getName() : mixed
hasContent()
Return if the style has any content
public
hasContent() : mixed
importFromFile()
Import style
public
static importFromFile(mixed $filename) : mixed
Parameters
- $filename : mixed
show()
Show the style
public
show([mixed $inline = FALSE ]) : mixed
Parameters
- $inline : mixed = FALSE