Method | Description | |
---|---|---|
getAutoCompleteType ( ) : |
||
getAutoPostBack ( ) : boolean | ||
getAutoTrim ( ) : boolean | ||
getCausesValidation ( ) : boolean | ||
getColumns ( ) : integer | ||
getData ( ) : string | Returns the text content of the TTextBox control. | |
getDataChanged ( ) : boolean | Returns a value indicating whether postback has caused the control data change. | |
getEnableClientScript ( ) : boolean | ||
getIsValid ( ) : boolean | Returns true if this control validated successfully. | |
getMaxLength ( ) : integer | ||
getPersistPassword ( ) : boolean | ||
getReadOnly ( ) : boolean | ||
getRows ( ) : integer | ||
getSafeText ( ) : string | ||
getText ( ) : string | ||
getTextMode ( ) : |
||
getValidationGroup ( ) : string | ||
getValidationPropertyValue ( ) : mixed | Returns the value to be validated. | |
getWrap ( ) : boolean | ||
loadPostData ( $key, $values ) : boolean | Loads user input data. | |
onTextChanged ( $param ) | Raises OnTextChanged event. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
renderBeginTag ( $writer ) | Renders an additional line-break after the opening tag when it is in MultiLine text mode. | |
renderContents ( $writer ) | Renders the body content of the textbox when it is in MultiLine text mode. | |
setAutoCompleteType ( $value ) | ||
setAutoPostBack ( $value ) | Sets the value indicating if postback automatically. | |
setAutoTrim ( $value ) | Sets the value indicating if the input text should be trimmed spaces | |
setCausesValidation ( $value ) | ||
setColumns ( $value ) | Sets the display width of the text box in characters. | |
setData ( $value ) | Sets the text content of the TTextBox control. | |
setEnableClientScript ( $value ) | ||
setIsValid ( $value ) | ||
setMaxLength ( $value ) | Sets the maximum number of characters allowed in the text box. | |
setPersistPassword ( $value ) | ||
setReadOnly ( $value ) | ||
setRows ( $value ) | Sets the number of rows displayed in a multiline text box. | |
setText ( $value ) | Sets the text content of the TTextBox control. | |
setTextMode ( $value ) | Sets the behavior mode of the TTextBox component. | |
setValidationGroup ( $value ) | ||
setWrap ( $value ) | Sets the value indicating whether the text content wraps within a multiline text box. |
Method | Description | |
---|---|---|
addAttributesToRender ( $writer ) | Adds attribute name-value pairs to renderer. | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getPostBackOptions ( ) : array | Gets the post back options for this textbox. | |
getSafeTextParser ( ) : mixed | ||
getTagName ( ) : string | ||
renderClientControlScript ( $writer ) | Renders the javascript for textbox. |
protected addAttributesToRender ( $writer ) |
public getAutoCompleteType ( ) : |
||
return | the AutoComplete type of the textbox |
public getAutoPostBack ( ) : boolean | ||
return | boolean | a value indicating whether an automatic postback to the server will occur whenever the user modifies the text in the TTextBox control and then tabs out of the component. Defaults to false. |
public getAutoTrim ( ) : boolean | ||
return | boolean | a value indicating whether the input text should be trimmed spaces. Defaults to false. |
public getCausesValidation ( ) : boolean | ||
return | boolean | whether postback event trigger by this text box will cause input validation, default is true. |
protected getClientClassName ( ) : string | ||
return | string | the javascript class name |
public getColumns ( ) : integer | ||
return | integer | the display width of the text box in characters, default is 0 meaning not set. |
public getDataChanged ( ) : boolean | ||
return | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
public getEnableClientScript ( ) : boolean | ||
return | boolean | whether to render javascript. |
public getIsValid ( ) : boolean | ||
return | boolean | wether this control validated successfully. |
public getMaxLength ( ) : integer | ||
return | integer | the maximum number of characters allowed in the text box, default is 0 meaning not set. |
public getPersistPassword ( ) : boolean | ||
return | boolean | whether password should be displayed in the textbox during postback. Defaults to false. This property only applies when TextMode='Password'. |
protected getPostBackOptions ( ) : array | ||
return | array |
public getReadOnly ( ) : boolean | ||
return | boolean | whether the textbox is read only, default is false. |
public getSafeText ( ) : string | ||
return | string | safe text content with javascript stripped off |
protected getSafeTextParser ( ) : mixed | ||
return | mixed | safe text parser |
protected getTagName ( ) : string | ||
return | string | tag name of the textbox |
public getTextMode ( ) : |
||
return | the behavior mode of the TTextBox component. Defaults to TTextBoxMode::SingleLine. |
public getValidationGroup ( ) : string | ||
return | string | the group of validators which the text box causes validation upon postback |
public getValidationPropertyValue ( ) : mixed | ||
return | mixed | the value of the property to be validated. |
public loadPostData ( $key, $values ) : boolean | ||
return | boolean | whether the data of the component has been changed |
public onTextChanged ( $param ) |
public raisePostDataChangedEvent ( ) |
public renderBeginTag ( $writer ) |
protected renderClientControlScript ( $writer ) |
public renderContents ( $writer ) |
public setAutoPostBack ( $value ) |
public setAutoTrim ( $value ) |
public setColumns ( $value ) |
public setData ( $value ) |
public setMaxLength ( $value ) |
public setRows ( $value ) |
public setTextMode ( $value ) |
public setWrap ( $value ) |