summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket769.php
blob: e1a86f0d713e59a1bc7c6650dfabb3b4992057fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?php

Prado::Using ('System.Web.UI.ActiveControls.*');

class Ticket769 extends TPage
{
	public function showAcallback( $sender, $param ) 
	{
		$this->A->Visible = true;
		$this->B->Visible = false;
		$this->Main->render( $param->NewWriter );	
	}
	                                                                                                                           
	public function showBcallback( $sender, $param )
	{
		$this->A->Visible = false;
		$this->B->Visible = true;
		$this->Main->render( $param->NewWriter );
	}
                                                                                                                                
	public function clicked( $sender, $param )
	{
		$sender->Text = $sender->Text.' clicked';
	}
}
?>