$this->repeater1->DataSource=array('home', 'office', 'car', 'boat', 'plane');
$this->repeater1->dataBind();
显示文件
Open project: pradosoft/prado
Property | Type | Description | |
---|---|---|---|
$_options |
Method | Description | |
---|---|---|
__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 ) |
Method | Description | |
---|---|---|
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 ( ) : |
||
return | new instance of TRepater to render the list of Selectables. |
public dataBind ( ) |
public getOptions ( ) : |
||
return |
protected getPostBackOptions ( ) : array | ||
return | array | list of callback options. |
public getSelectables ( ) : |
||
return | suggestion list repeater |
public getValidEvents ( ) : array() | ||
return | array() |
public getValidOptions ( ) : array() | ||
return | array() |
public getWidgetID ( ) : string | ||
return | 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 ) |