Метод | Описание | |
---|---|---|
__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 ) |