PHP Class Prado\Web\UI\WebControls\TClientSideValidationSummaryOptions
Client-side validation summary events such as {@link setOnHideSummary OnHideSummary} and {@link setOnShowSummary OnShowSummary} can be modified
through the {@link 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.
Datei anzeigen
Open project: pradosoft/prado
Public Methods
Method |
Description |
|
getOnHideSummary ( ) : string |
|
|
getOnShowSummary ( ) : string |
|
|
setOnHideSummary ( $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. |
|
setOnShowSummary ( $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. |
|
Protected Methods
Method |
Description |
|
ensureFunction ( $javascript ) : string |
Ensure the string is a valid javascript function. The code block
is enclosed with "function(summary, validators){ }" block. |
|
Method Details
ensureFunction()
protected method
Ensure the string is a valid javascript function. The code block
is enclosed with "function(summary, validators){ }" block.
getOnHideSummary()
public method
getOnShowSummary()
public method
setOnHideSummary()
public method
Client-side OnHideSummary validation summary event is raise when all the
validators are valid. This will override the default client-side
validation summary behaviour.
setOnShowSummary()
public method
Client-side OnShowSummary event is raise when one or more validators are
not valid. This will override the default client-side validation summary
behaviour.