blob: addac2522929e60db8b7c306f2e6277e1abe908b (
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
27
28
29
30
31
32
33
34
35
36
|
<?php
/**
* TRatingListTest.php
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @version Creation Date: Oct 13, 2008
*/
/**
* TRatingListTest.php class
*
*
*
* Properties
* -
*
* @author Bradley Booms <Bradley.Booms@nsighttel.com>
* @version Modified Date: Oct 13, 2008
*
* Modifications:
*/
class ActiveRatingListEnabledTest extends TPage{
public function ratingChanged($sender, $param){
$this->Status->setText($sender->getRating().' : '.$sender->getSelectedValue());
}
public function enable($sender, $param){
$this->RatingList->setEnabled(true);
$this->Status->setText('Enabled=true');
}
public function disable($sender, $param){
$this->RatingList->setEnabled(false);
$this->Status->setText('Enabled=false');
}
}
|