Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
getAutoUpdate ( ) : boolean | Gets the auto-update for this summary. | |
getClientSide ( ) : |
||
getDisplay ( ) : |
||
getDisplayMode ( ) : |
||
getEnableClientScript ( ) : boolean | ||
getHeaderText ( ) : string | ||
getScrollToSummary ( ) : boolean | ||
getShowAnchor ( ) : boolean | ||
getShowMessageBox ( ) : boolean | ||
getShowSummary ( ) : boolean | ||
getValidationGroup ( ) : string | ||
renderContents ( $writer ) : string | Overrides parent implementation by rendering TValidationSummary-specific presentation. | |
setAutoUpdate ( $value ) | Sets the summary to auto-update on the client-side | |
setDisplay ( $value ) | ||
setDisplayMode ( $value ) | ||
setEnableClientScript ( $value ) | ||
setHeaderText ( $value ) | Sets the header text to be displayed at the top of the summary | |
setScrollToSummary ( $value ) | ||
setShowAnchor ( $value ) | ||
setShowMessageBox ( $value ) | ||
setShowSummary ( $value ) | ||
setValidationGroup ( $value ) |
Méthode | Description | |
---|---|---|
addAttributesToRender ( $writer ) | ||
createClientScript ( ) : |
||
getClientScriptOptions ( ) : array | Get a list of options for the client-side javascript validation summary. | |
getErrorMessages ( ) : array | Get the list of validation error messages. | |
renderBulletList ( $writer ) : string | Render the validation summary as a bullet list. | |
renderHeaderOnly ( $writer ) | Render the validation summary header text only. | |
renderJsSummary ( ) | Render the javascript for validation summary. | |
renderList ( $writer ) : string | Render the validation summary as a simple list. | |
renderSingleParagraph ( $writer ) : string | Render the validation summary as a paragraph. |
protected createClientScript ( ) : |
||
Résultat | javascript validation summary event options. |
public getAutoUpdate ( ) : boolean | ||
Résultat | boolean | automatic client-side summary updates. Defaults to true. |
protected getClientScriptOptions ( ) : array | ||
Résultat | array | list of options for the summary |
public getClientSide ( ) : |
||
Résultat | client-side validation summary event options. |
public getDisplay ( ) : |
||
Résultat | the style of displaying the error messages. Defaults to TValidationSummaryDisplayStyle::Fixed. |
public getDisplayMode ( ) : |
||
Résultat | the mode of displaying error messages. Defaults to TValidationSummaryDisplayMode::BulletList. |
public getEnableClientScript ( ) : boolean | ||
Résultat | boolean | whether the TValidationSummary component updates itself using client-side script. Defaults to true. |
protected getErrorMessages ( ) : array | ||
Résultat | array | list of validator error messages. |
public getHeaderText ( ) : string | ||
Résultat | string | the header text displayed at the top of the summary |
public getScrollToSummary ( ) : boolean | ||
Résultat | boolean | whether scroll summary into viewport or not. Defaults to true. |
public getShowAnchor ( ) : boolean | ||
Résultat | boolean | whether the validation summary should be anchored. Defaults to false. |
public getShowMessageBox ( ) : boolean | ||
Résultat | boolean | whether the validation summary is displayed in a message box. Defaults to false. |
public getShowSummary ( ) : boolean | ||
Résultat | boolean | whether the validation summary is displayed inline. Defaults to true. |
public getValidationGroup ( ) : string | ||
Résultat | string | the group which this validator belongs to |
protected renderBulletList ( $writer ) : string | ||
Résultat | string | summary bullet list |
public renderContents ( $writer ) : string | ||
Résultat | string | the rendering result |
protected renderHeaderOnly ( $writer ) |
protected renderJsSummary ( ) |
protected renderList ( $writer ) : string | ||
Résultat | string | summary list |
protected renderSingleParagraph ( $writer ) : string | ||
Résultat | string | summary paragraph |
public setAutoUpdate ( $value ) |
public setHeaderText ( $value ) |