Method | 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 ) |
Method | 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 ( ) : |
||
return | javascript validation summary event options. |
public getAutoUpdate ( ) : boolean | ||
return | boolean | automatic client-side summary updates. Defaults to true. |
protected getClientScriptOptions ( ) : array | ||
return | array | list of options for the summary |
public getClientSide ( ) : |
||
return | client-side validation summary event options. |
public getDisplay ( ) : |
||
return | the style of displaying the error messages. Defaults to TValidationSummaryDisplayStyle::Fixed. |
public getDisplayMode ( ) : |
||
return | the mode of displaying error messages. Defaults to TValidationSummaryDisplayMode::BulletList. |
public getEnableClientScript ( ) : boolean | ||
return | boolean | whether the TValidationSummary component updates itself using client-side script. Defaults to true. |
protected getErrorMessages ( ) : array | ||
return | array | list of validator error messages. |
public getHeaderText ( ) : string | ||
return | string | the header text displayed at the top of the summary |
public getScrollToSummary ( ) : boolean | ||
return | boolean | whether scroll summary into viewport or not. Defaults to true. |
public getShowAnchor ( ) : boolean | ||
return | boolean | whether the validation summary should be anchored. Defaults to false. |
public getShowMessageBox ( ) : boolean | ||
return | boolean | whether the validation summary is displayed in a message box. Defaults to false. |
public getShowSummary ( ) : boolean | ||
return | boolean | whether the validation summary is displayed inline. Defaults to true. |
public getValidationGroup ( ) : string | ||
return | string | the group which this validator belongs to |
protected renderBulletList ( $writer ) : string | ||
return | string | summary bullet list |
public renderContents ( $writer ) : string | ||
return | string | the rendering result |
protected renderHeaderOnly ( $writer ) |
protected renderJsSummary ( ) |
protected renderList ( $writer ) : string | ||
return | string | summary list |
protected renderSingleParagraph ( $writer ) : string | ||
return | string | summary paragraph |
public setAutoUpdate ( $value ) |
public setHeaderText ( $value ) |