$this->repeater1->DataSource=array('home', 'office', 'car', 'boat', 'plane');
$this->repeater1->dataBind();
Показать файл
Открыть проект
Свойство | Тип | Описание | |
---|---|---|---|
$_options |
Метод | Описание | |
---|---|---|
__construct ( ) | Creates a new callback control, sets the adapter to TActiveControlAdapter. If you override this class, be sure to set the adapter appropriately by, for example, by calling this constructor. | |
dataBind ( ) | Overrides parent implementation. Callback {@link renderSelectables()} when page's IsCallback property is true. | |
getOptions ( ) : |
Object containing defined javascript options | |
getSelectables ( ) : |
||
getValidEvents ( ) : array() | Array containing valid javascript events | |
getValidOptions ( ) : array() | Array containing valid javascript options | |
getWidget ( ) : string | ||
getWidgetID ( ) : string | ||
onCreate ( object $params ) | Raises the OnCreate event | |
onSelected ( object $params ) | Raises the OnSelected event | |
onSelecting ( object $params ) | Raises the OnSelecting event | |
onStart ( object $params ) | Raises the OnStart event | |
onStop ( object $params ) | Raises the OnStop event | |
onUnselected ( object $params ) | Raises the OnUnselected event | |
onUnselecting ( object $params ) | Raises the OnUnselecting event | |
raiseCallbackEvent ( $param ) | Raises callback event. This method is required by the {@link ICallbackEventHandler} interface. | |
setDataSource ( $data ) |
Метод | Описание | |
---|---|---|
addAttributesToRender ( $writer ) | Ensure that the ID attribute is rendered and registers the javascript code for initializing the active control. | |
createRepeater ( ) : |
||
getPostBackOptions ( ) : array |
public __construct ( ) |
protected addAttributesToRender ( $writer ) |
protected createRepeater ( ) : |
||
Результат | new instance of TRepater to render the list of Selectables. |
public dataBind ( ) |
public getOptions ( ) : |
||
Результат |
protected getPostBackOptions ( ) : array | ||
Результат | array | list of callback options. |
public getSelectables ( ) : |
||
Результат | suggestion list repeater |
public getValidEvents ( ) : array() | ||
Результат | array() |
public getValidOptions ( ) : array() | ||
Результат | array() |
public getWidgetID ( ) : string | ||
Результат | string | the clientid of the jQueryUI widget element |
public onSelected ( object $params ) | ||
$params | object | event parameters |
public onSelecting ( object $params ) | ||
$params | object | event parameters |
public onUnselected ( object $params ) | ||
$params | object | event parameters |
public onUnselecting ( object $params ) | ||
$params | object | event parameters |
public raiseCallbackEvent ( $param ) |