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 16)


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

Find a style by its properties

  • access: public
static findStyle ($object)
  • $object
Constructor __construct (line 27)

Class Constructor

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

Returns the style content

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

Return the style inline code

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

Returns the style name

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

Return if the style has any content

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

Show the style

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

Executed whenever a property is read

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

Executed whenever a property is assigned

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