## Class TViewStateDiff

Description

Calculates the viewstate changes during the request.

- abstract:
- 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 382)

Direct descendents

Class | Description
--- | ---
TScalarDiff | TScalarDiff class.
TStyleDiff | TStyleDiff class.
TMapCollectionDiff | TAttributesDiff class.

Variable Summary
mixed $_new
object null $_null
mixed $_old
Method Summary
TViewStateDiff __construct (mixed $new, mixed $old, object representing $null)
mixed getDifference ()
Variables
mixed $_new (line 387)

- var: updated viewstate
- access: protected

object null $_null (line 395)

- var: value.
- access: protected

mixed $_old (line 391)

- var: viewstate value at the begining of the request.
- access: protected

Methods
Constructor __construct (line 403)

Constructor.

- access: public

TViewStateDiff __construct (mixed $new, mixed $old, object representing $null)

- mixed $new: updated viewstate value.
- mixed $old: viewstate value at the begining of the request.
- object representing $null: the null value.

getDifference (line 413)

- return: view state changes, nullObject if no difference.
- abstract:
- access: public

mixed getDifference ()

Redefined in descendants as:

- TScalarDiff::getDifference()
- TStyleDiff::getDifference()
- TMapCollectionDiff::getDifference()

Documentation generated on Sun, 30 Sep 2007 19:10:06 -0400 by phpDocumentor 1.3.0RC4