blob: 95bdd62d7cce463bcba14e5180d88d4f69f66764 (
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
|
<?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';
}
}
|