메소드 | 설명 | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveControlAdapter. | |
getActiveControl ( ) : |
||
render ( $writer ) | Renders the repeater. | |
setDataSource ( $value ) | Sets the data source object associated with the repeater control. |
메소드 | 설명 | |
---|---|---|
getContainerID ( ) : string | Returns the id of the surrounding container (span). |
메소드 | 설명 | |
---|---|---|
renderDataList ( $writer ) | Renders the repeater by writing a span tag with the container id obtained from {@link getContainerID()} which will be called by the replacement method of the client script to update it's content. | |
renderPager ( ) | Loops through all {@link TActivePager} on the page and registers the ones which are set to paginate the repeater for rendering. This is to ensure that the connected pagers are also rendered if the data source changed. |
public __construct ( ) |
public getActiveControl ( ) : |
||
리턴 | standard active control options. |
protected getContainerID ( ) : string | ||
리턴 | string | container id |
public render ( $writer ) |
public setDataSource ( $value ) |