API Documentação da API
Inscrições abertas para nosso Webinar anual Adianti Framework 2024!
Clique aqui para saber mais
Pacote Dominando o Adianti 7
Curso + Livro + Apps exemplo
Curso completo em Video Aulas (114 aulas).
Livro completo em PDF (463 páginas).
Códigos-fontes de Apps de exemplo.
API
API do Framework
Documentation

Documentation

TStyle
in package

StyleSheet Manager

Tags
version
7.6
subpackage

base

author

Pablo Dall'Oglio

copyright

Copyright (c) 2006 Adianti Solutions Ltd. (http://www.adianti.com.br)

license

https://adiantiframework.com.br/license

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

$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
$name :

= property's name

__set()

Executed whenever a property is assigned

public __set( $name,  $value) : mixed
Parameters
$name :

= property's name

$value :

= property's value

findStyle()

Find a style by its properties

public static findStyle(mixed $object) : mixed
Parameters
$object : mixed
Tags
object

style object

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

        
On this page

Search results