Lançado Adianti Framework 7.6!
Clique aqui para saber mais
menu

Adianti Solutions

API

Adianti, Framework, PHP, MVC, Active record, Front controller, IDE, RAD, Web, multiplataforma, geração de código, desenvolvimento rápido, relatórios, formulários, listagens, datagrids, gráficos, banco de dados, padrões de projeto, design patterns API do Adianti Framework.
API Docs
code
Selecione a classe

Class TStyle

Description

StyleSheet Manager

Located in /widget/base/TStyle.php (line 17)


	
			
Method Summary
static findStyle ($object)
static importFromFile ($filename)
__construct ($name)
getName ()
show ([$inline = FALSE])
__get ($name)
__set ($name, $value)
Methods
static findStyle (line 57)

Find a style by its properties

  • access: public
static findStyle ($object)
  • $object
static importFromFile (line 38)

Import style

  • access: public
static importFromFile ($filename)
  • $filename: Style file name
Constructor __construct (line 28)

Class Constructor

  • access: public
__construct ($name)
  • $name: Name of the style
getContent (line 108)

Returns the style content

  • access: public
getContent ()
getInline (line 129)

Return the style inline code

  • access: public
getInline ()
getName (line 48)

Returns the style name

  • access: public
getName ()
hasContent (line 100)

Return if the style has any content

  • access: public
hasContent ()
show (line 148)

Show the style

  • access: public
show ([$inline = FALSE])
  • $inline
__get (line 89)

Executed whenever a property is read

  • access: public
__get ($name)
  • $name: = property's name
__set (line 76)

Executed whenever a property is assigned

  • access: public
__set ($name, $value)
  • $name: = property's name
  • $value: = property's value