PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Class TClientSideValidationSummaryOptions

TClientSideValidationSummaryOptions class.

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

The OnHideSummary event is raise when the validation summary requests to hide the messages.

The OnShowSummary event is raised when the validation summary requests to show the messages.

See the quickstart documentation for further details.

TComponent
Extended by TClientSideOptions
Extended by TClientSideValidationSummaryOptions
Package: System\Web\UI\WebControls
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Wei Zhuo <weizhuo[at]gmail[dot]com>
Since: 3.0
Located at Web/UI/WebControls/TValidationSummary.php
Methods summary
public string
# getOnHideSummary( )

Returns

string
javascript code for client-side OnHideSummary event.
public
# setOnHideSummary( string $javascript )

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

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

Parameters

$javascript
string
javascript code for client-side OnHideSummary event.
public
# setOnShowSummary( string $javascript )

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

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

Parameters

$javascript
string
javascript code for client-side OnShowSummary event.
public string
# getOnShowSummary( )

Returns

string
javascript code for client-side OnShowSummary event.
protected string
# ensureFunction( string $javascript )

Ensure the string is a valid javascript function. The code block is enclosed with "function(summary, validators){ }" block.

Ensure the string is a valid javascript function. The code block is enclosed with "function(summary, validators){ }" block.

Parameters

$javascript
string
javascript code.

Returns

string
javascript function code.

Overrides

TClientSideOptions::ensureFunction()
Methods inherited from TClientSideOptions
getOption(), getOptions(), setFunction(), setOption()
Methods inherited from TComponent
__call(), __construct(), __destruct(), __get(), __isset(), __set(), __sleep(), __unset(), __wakeup(), addParsedObject(), asa(), attachBehavior(), attachBehaviors(), attachClassBehavior(), attachEventHandler(), canGetProperty(), canSetProperty(), clearBehaviors(), createdOnTemplate(), detachBehavior(), detachBehaviors(), detachClassBehavior(), detachEventHandler(), disableBehavior(), disableBehaviors(), enableBehavior(), enableBehaviors(), evaluateExpression(), evaluateStatements(), fxAttachClassBehavior(), fxDetachClassBehavior(), getAutoGlobalListen(), getBehaviorsEnabled(), getClassHierarchy(), getEventHandlers(), getListeningToGlobalEvents(), getSubProperty(), hasEvent(), hasEventHandler(), hasProperty(), isa(), listen(), raiseEvent(), setSubProperty(), unlisten()
Constants inherited from TComponent
GLOBAL_RAISE_EVENT_LISTENER
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO