summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Issue120.php
blob: c04ae93d81b14e52125720c638c906233eaaf61d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php
Prado::using('System.Web.UI.ActiveControls.*');

class Issue120 extends TPage
{
	public function buttonClickCallback($sender, $param)
	{
		
		$this -> ddl1 -> setDataSource(
			array(
				'callback value 1' => 'callback item 1',
				'callback value 2' => 'callback item 2',
				'callback value 3' => 'callback item 3',
				'callback value 4' => 'callback item 4'
			)
		);
		$this -> ddl1 -> dataBind();
		
	}
}

?>