Class Style

com.woltlab.wcf.system.style.data.style

Description

Represents a style.

  • author: Marcel Werk
  • copyright: 2001-2009 WoltLab GmbH
  • license: GNU
DatabaseObject
   |
   --Style

Direct descendents

Class Description
StyleEditor Provides functions to edit, import, export and delete a style.
ActiveStyle Represents the active user style.

Method Summary

Return Name
Style __construct(integer $styleID, [array $row = null])
void getActiveStyle(ActiveStyle 0)
static Style getStyles()
string __toString()

Variables


Inherited variables from DatabaseObject

DatabaseObject::$data

Methods

__construct

public Style __construct(integer $styleID, [array $row = null])

Creates a new Style object.

Parameters:

  • $styleID
  • $row

Redefinition of: DatabaseObject::__construct()


getActiveStyle

public void getActiveStyle(ActiveStyle 0)

Returns a new ActiveStyle object.

Parameters:

  • 0

getStyles

public static Style getStyles()

Returns a list of styles.


__toString

public string __toString()

Returns the name of this style.


Inherited methods from DatabaseObject

DatabaseObject::__construct(), DatabaseObject::handleData(), DatabaseObject::sort(), DatabaseObject::__get()