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.
부터: 3.0
상속: extends Prado\Web\UI\TClientSideOptions
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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.
protected ensureFunction ( $javascript ) : string
리턴 string javascript function code.

getOnHideSummary() 공개 메소드

public getOnHideSummary ( ) : string
리턴 string javascript code for client-side OnHideSummary event.

getOnShowSummary() 공개 메소드

public getOnShowSummary ( ) : string
리턴 string javascript code for client-side OnShowSummary event.

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.
public setOnHideSummary ( $javascript )

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.
public setOnShowSummary ( $javascript )