Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
findControl ( $id, $real = false ) : TControl | Finds a control by ID. | |
generateItemStyle ( $itemType, $index ) : null | Returns a style used for rendering items. | |
getCellPadding ( ) : integer | ||
getCellSpacing ( ) : integer | ||
getDataChanged ( ) : boolean | Returns a value indicating whether postback has caused the control data change. | |
getHasFooter ( ) : boolean | Returns a value indicating whether this control contains footer item. | |
getHasHeader ( ) : boolean | Returns a value indicating whether this control contains header item. | |
getHasSeparators ( ) : boolean | Returns a value indicating whether this control contains separator items. | |
getIsValid ( ) : boolean | Returns true if this control validated successfully. | |
getRepeatColumns ( ) : integer | ||
getRepeatDirection ( ) : string | ||
getRepeatLayout ( ) : string | ||
getTextAlign ( ) : |
||
getValidationPropertyValue ( ) : mixed | Returns the value to be validated. | |
loadPostData ( $key, $values ) : boolean | Loads user input data. | |
onPreRender ( $param ) | Registers for post data on postback. | |
raisePostDataChangedEvent ( ) | Raises postdata changed event. | |
render ( $writer ) | Renders the checkbox list control. | |
renderItem ( $writer, $repeatInfo, $itemType, $index ) | Renders an item in the list. | |
setCellPadding ( $value ) | Sets the cellpadding for the table keeping the checkbox list. | |
setCellSpacing ( $value ) | Sets the cellspacing for the table keeping the checkbox list. | |
setEnabled ( $value ) | ||
setIsValid ( $value ) | ||
setRepeatColumns ( $value ) | ||
setRepeatDirection ( $value ) | ||
setRepeatLayout ( $value ) | ||
setTextAlign ( $value ) |
Méthode | Description | |
---|---|---|
createRepeatedControl ( ) : TControl | Creates a control used for repetition (used as a template). | |
createStyle ( ) : |
Creates a style object for the control. | |
getClientClassName ( ) : string | Gets the name of the javascript class responsible for performing postback for this control. | |
getIsMultiSelect ( ) : boolean | ||
getPostBackOptions ( ) : array | Gets the post back options for this checkbox. | |
getRepeatInfo ( ) : |
||
getSpanNeeded ( ) : boolean | Wether the list should be rendered inside a span or not |
public __construct ( ) |
protected createRepeatedControl ( ) : TControl | ||
Résultat | TControl | the control to be repeated |
protected createStyle ( ) : |
||
Résultat | control style to be used |
public findControl ( $id, $real = false ) : TControl | ||
Résultat | TControl | control being found |
public generateItemStyle ( $itemType, $index ) : null | ||
Résultat | null |
public getCellPadding ( ) : integer | ||
Résultat | integer | the cellpadding for the table keeping the checkbox list. Defaults to -1, meaning not set. |
public getCellSpacing ( ) : integer | ||
Résultat | integer | the cellspacing for the table keeping the checkbox list. Defaults to -1, meaning not set. |
protected getClientClassName ( ) : string | ||
Résultat | string | the javascript class name |
public getDataChanged ( ) : boolean | ||
Résultat | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
public getHasHeader ( ) : boolean | ||
Résultat | boolean | always false. |
public getHasSeparators ( ) : boolean | ||
Résultat | boolean | always false. |
protected getIsMultiSelect ( ) : boolean | ||
Résultat | boolean | whether this control supports multiple selection. Always true for checkbox list. |
public getIsValid ( ) : boolean | ||
Résultat | boolean | wether this control validated successfully. |
protected getPostBackOptions ( ) : array | ||
Résultat | array |
public getRepeatColumns ( ) : integer | ||
Résultat | integer | the number of columns that the list should be displayed with. Defaults to 0 meaning not set. |
public getRepeatDirection ( ) : string | ||
Résultat | string | the direction of traversing the list, defaults to 'Vertical' |
protected getRepeatInfo ( ) : |
||
Résultat | repeat information (primarily used by control developers) |
public getRepeatLayout ( ) : string | ||
Résultat | string | how the list should be displayed, using table or using line breaks. Defaults to 'Table'. |
protected getSpanNeeded ( ) : boolean | ||
Résultat | boolean | true if we need a span |
public getTextAlign ( ) : |
||
Résultat | the alignment of the text caption, defaults to TTextAlign::Right. |
public getValidationPropertyValue ( ) : mixed | ||
Résultat | mixed | the value of the property to be validated. |
public loadPostData ( $key, $values ) : boolean | ||
Résultat | boolean | whether the data of the control has been changed |
public onPreRender ( $param ) |
public raisePostDataChangedEvent ( ) |
public renderItem ( $writer, $repeatInfo, $itemType, $index ) |
public setCellPadding ( $value ) |
public setCellSpacing ( $value ) |