summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListRatingTest.php
blob: 97369a8d94395d0b447dd8b927b3a2052b2e5a5b (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
<?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 ActiveRatingListRatingTest extends TPage{
	public function ratingChanged($sender, $param){
		$this->Status->setText('Rating: '.$sender->getRating());
	}
	
	public function setRating($sender, $param){
		$this->RatingList->setRating(3);
		$this->ratingChanged($this->RatingList, null);
	}
}
?>