## Class TStyleDiff

Description

TStyleDiff class.

Calculates the changes to the Style properties.

- since: 3.1
- version: $Id: TActiveControlAdapter.php 1453 2006-10-01 03:09:18Z wei $
- author: Wei Zhuo <weizhuo[at]gmail[dot]com>

Located in /Web/UI/ActiveControls/TActiveControlAdapter.php (line 451)

    TViewStateDiff
       |
       --TStyleDiff

Method Summary
array getCombinedStyle (TStyle $obj)
string getCssClassDiff ()
array getDifference ()
array getStyleDiff ()
void getStyleFromString (string $string, array 1)
Variables

#### Inherited Variables

Inherited from TViewStateDiff

> TViewStateDiff::$_new
> TViewStateDiff::$_null
> TViewStateDiff::$_old

Methods
getCombinedStyle (line 457)

- return: all the style properties combined.
- access: protected

array getCombinedStyle (TStyle $obj)

- TStyle $obj: control style

getCssClassDiff (line 489)

- return: changes to the CSS class name.
- access: protected

string getCssClassDiff ()
getDifference (line 517)

- return: list of changes to the control style and CSS class name.
- access: public

array getDifference ()

Redefinition of:

TViewStateDiff::getDifference()

getStyleDiff (line 506)

- return: list of changes to the control style.
- access: protected

array getStyleDiff ()
getStyleFromString (line 472)

- access: protected

void getStyleFromString (string $string, array 1)

- array 1: CSS style as name-value array.
- string $string: CSS custom style string.

#### Inherited Methods

Inherited From TViewStateDiff

> TViewStateDiff::__construct()
> TViewStateDiff::getDifference()

Documentation generated on Sun, 14 Jan 2007 21:40:35 -0500 by phpDocumentor 1.3.0RC4