Свойство | Тип | Описание | |
---|---|---|---|
$_surroundingTag | the tag used to render the surrounding container |
Метод | Описание | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveControlAdapter. | |
getActiveControl ( ) : |
||
getSurroundingTag ( ) : string | Gets the tag used to render the surrounding container. Defaults to 'div'. | |
getSurroundingTagID ( ) : string | Returns the id of the surrounding container. | |
render ( $writer ) | Renders the repeater. | |
setDataSource ( $value ) | Sets the data source object associated with the repeater control. | |
setSurroundingTag ( string $value ) | Sets the tag used to render the surrounding container. |
Метод | Описание | |
---|---|---|
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. | |
renderRepeater ( $writer ) | Renders the repeater by writing a {@link getSurroundingTag()} with the container id obtained from {@link getSurroundingTagID()} which will be called by the replacement method of the client script to update it's content. |
public __construct ( ) |
public getActiveControl ( ) : |
||
Результат | standard active control options. |
public getSurroundingTag ( ) : string | ||
Результат | string | container tag |
public getSurroundingTagID ( ) : string | ||
Результат | string | container id |
public render ( $writer ) |
public setDataSource ( $value ) |
public setSurroundingTag ( string $value ) | ||
$value | string | container tag |