summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Issue120.php
blob: ad6431a0bb0e3e68979057083ea96a2ca19e5d7c (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();
		
	}
}

?>