Method | 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 ) |
Method | 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 | ||
return | TControl | the control to be repeated |
protected createStyle ( ) : |
||
return | control style to be used |
public findControl ( $id, $real = false ) : TControl | ||
return | TControl | control being found |
public generateItemStyle ( $itemType, $index ) : null | ||
return | null |
public getCellPadding ( ) : integer | ||
return | integer | the cellpadding for the table keeping the checkbox list. Defaults to -1, meaning not set. |
public getCellSpacing ( ) : integer | ||
return | integer | the cellspacing for the table keeping the checkbox list. Defaults to -1, meaning not set. |
protected getClientClassName ( ) : string | ||
return | string | the javascript class name |
public getDataChanged ( ) : boolean | ||
return | boolean | whether postback has caused the control data change. False if the page is not in postback mode. |
public getHasHeader ( ) : boolean | ||
return | boolean | always false. |
public getHasSeparators ( ) : boolean | ||
return | boolean | always false. |
protected getIsMultiSelect ( ) : boolean | ||
return | boolean | whether this control supports multiple selection. Always true for checkbox list. |
public getIsValid ( ) : boolean | ||
return | boolean | wether this control validated successfully. |
protected getPostBackOptions ( ) : array | ||
return | array |
public getRepeatColumns ( ) : integer | ||
return | integer | the number of columns that the list should be displayed with. Defaults to 0 meaning not set. |
public getRepeatDirection ( ) : string | ||
return | string | the direction of traversing the list, defaults to 'Vertical' |
protected getRepeatInfo ( ) : |
||
return | repeat information (primarily used by control developers) |
public getRepeatLayout ( ) : string | ||
return | string | how the list should be displayed, using table or using line breaks. Defaults to 'Table'. |
protected getSpanNeeded ( ) : boolean | ||
return | boolean | true if we need a span |
public getTextAlign ( ) : |
||
return | the alignment of the text caption, defaults to TTextAlign::Right. |
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 control has been changed |
public onPreRender ( $param ) |
public raisePostDataChangedEvent ( ) |
public renderItem ( $writer, $repeatInfo, $itemType, $index ) |
public setCellPadding ( $value ) |
public setCellSpacing ( $value ) |