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.

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

TComponent
   |
   --TValidationSummaryClientScript
Method Summary
TValidationSummaryClientScript __construct ()
string getOnHideSummary ()
string getOnShowSummary ()
array getOptions ()
void setOnHideSummary (string $javascript)
void setOnShowSummary (string $javascript)
Methods
Constructor __construct (line 420)

Constructor.

  • access: public
TValidationSummaryClientScript __construct ()
getOnHideSummary (line 428)
  • return: javascript code for client-side OnHideSummary event.
  • access: public
string getOnHideSummary ()
getOnShowSummary (line 458)
  • return: javascript code for client-side OnShowSummary event.
  • access: public
string getOnShowSummary ()
getOptions (line 466)
  • return: list of client-side event code.
  • access: public
array getOptions ()
setOnHideSummary (line 439)

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

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 Sun, 04 Jun 2006 19:00:38 -0400 by phpDocumentor 1.3.0RC4