diff options
author | Christophe.Boulain <> | 2008-11-08 17:41:48 +0000 |
---|---|---|
committer | Christophe.Boulain <> | 2008-11-08 17:41:48 +0000 |
commit | 15161da7755a8d74853ccae0966afa22d9830b07 (patch) | |
tree | cb2343aafc94f4dfc06db40a137c840d346c8a55 /tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php | |
parent | 4ee9040fbfce871db1bf01e7f7a051184bbca37b (diff) |
Issue#36: Refactored TRatingList/TActiveRatingList, and added some docs.
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php')
-rw-r--r-- | tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php b/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php new file mode 100644 index 00000000..070fd13f --- /dev/null +++ b/tests/FunctionalTests/active-controls/protected/pages/ActiveRatingListReadOnlyTest.php @@ -0,0 +1,38 @@ +<?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 ActiveRatingListReadOnlyTest extends TPage{
+ public function ratingChanged($sender, $param){
+ $this->Status->setText($sender->getRating().' : '.$sender->getSelectedValue());
+ }
+
+ public function readOnly($sender, $param){
+ $this->RatingList->setReadOnly(true);
+ $this->Status->setText('ReadOnly=true');
+ }
+
+ public function writable($sender, $param){
+ $this->RatingList->setReadOnly(false);
+ $this->Status->setText('ReadOnly=false');
+ }
+
+}
+?>
\ No newline at end of file |