## Class TValidationSummaryClientScript

Description

TValidationSummaryClientScript class.

Client-side validation summary events such as OnHideSummary and OnShowSummary can be modified through the TBaseValidator:: property of a validation summary.

The <tt>OnHideSummary</tt> event is raise when the validation summary requests to hide the messages.

The <tt>OnShowSummary</tt> event is raised when the validation summary requests to show the messages.

See the quickstart documentation for further details.

- since: 3.0
- version: $Revision: $ $Date: $
- author: Wei Zhuo <weizhuo[at]gmail[dot]com>

Located in /Web/UI/WebControls/TValidationSummary.php (line 395)

    TComponent
       |
       --TValidationSummaryClientScript

Method Summary
TValidationSummaryClientScript __construct ()
string getOnHideSummary ()
string getOnShowSummary ()
array getOptions ()
void setOnHideSummary (string $javascript)
void setOnShowSummary (string $javascript)
Methods
Constructor __construct (line 405)

Constructor.

- access: public

TValidationSummaryClientScript __construct ()
getOnHideSummary (line 413)

- return: javascript code for client-side OnHideSummary event.
- access: public

string getOnHideSummary ()
getOnShowSummary (line 443)

- return: javascript code for client-side OnShowSummary event.
- access: public

string getOnShowSummary ()
getOptions (line 451)

- return: list of client-side event code.
- access: public

array getOptions ()
setOnHideSummary (line 424)

Client-side OnHideSummary validation summary event is raise when all the validators are valid. This will override the default client-side validation summary behaviour.

- access: public

void setOnHideSummary (string $javascript)

- string $javascript: javascript code for client-side OnHideSummary event.

setOnShowSummary (line 435)

Client-side OnShowSummary event is raise when one or more validators are not valid. This will override the default client-side validation summary behaviour.

- access: public

void setOnShowSummary (string $javascript)

- string $javascript: javascript code for client-side OnShowSummary event.

#### Inherited Methods

Inherited From TComponent

> TComponent::attachEventHandler()
> TComponent::canGetProperty()
> TComponent::canSetProperty()
> TComponent::detachEventHandler()
> TComponent::evaluateExpression()
> TComponent::evaluateStatements()
> TComponent::getEventHandlers()
> TComponent::getSubProperty()
> TComponent::hasEvent()
> TComponent::hasEventHandler()
> TComponent::hasProperty()
> TComponent::raiseEvent()
> TComponent::setSubProperty()
> TComponent::__get()
> TComponent::__set()

Documentation generated on Mon, 01 May 2006 23:05:02 -0400 by phpDocumentor 1.3.0RC4