PHP Класс 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.
Показать файл
Открыть проект
Открытые методы
Метод |
Описание |
|
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. |
|
Защищенные методы
Метод |
Описание |
|
ensureFunction ( $javascript ) : string |
Ensure the string is a valid javascript function. The code block
is enclosed with "function(summary, validators){ }" block. |
|
Описание методов
ensureFunction()
защищенный Метод
Ensure the string is a valid javascript function. The code block
is enclosed with "function(summary, validators){ }" block.
getOnHideSummary()
публичный Метод
getOnShowSummary()
публичный Метод
setOnHideSummary()
публичный Метод
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()
публичный Метод
Client-side OnShowSummary event is raise when one or more validators are
not valid. This will override the default client-side validation summary
behaviour.