summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TRatingList.php
diff options
context:
space:
mode:
authorxue <>2006-02-16 22:48:18 +0000
committerxue <>2006-02-16 22:48:18 +0000
commite9bfba959b6d655ed2eba71e4f2a618237d68698 (patch)
tree7e9160367d627a13d177c104802dc343f2f32e33 /framework/Web/UI/WebControls/TRatingList.php
parenta2cf28f9759c9a1b385914ad64b4f74470f8703b (diff)
Modified asset manipulation APIs.
Diffstat (limited to 'framework/Web/UI/WebControls/TRatingList.php')
-rw-r--r--framework/Web/UI/WebControls/TRatingList.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/framework/Web/UI/WebControls/TRatingList.php b/framework/Web/UI/WebControls/TRatingList.php
index 6613c08b..3c5a9279 100644
--- a/framework/Web/UI/WebControls/TRatingList.php
+++ b/framework/Web/UI/WebControls/TRatingList.php
@@ -80,22 +80,22 @@ class TRatingList extends TRadioButtonList
{
$cs = $this->getPage()->getClientScript();
$style = $this->getRatingStyle()->getStyleSheet();
- $url = $this->getService()->getAsset($style);
+ $url = $this->publishFilePath($style);
if(!$cs->isStyleSheetFileRegistered($style))
- $cs->registerStyleSheetFile($style, $url);
+ $cs->registerStyleSheetFile($style, $url);
return $url;
}
-
+
protected function publishRatingListAssets()
{
$cs = $this->getPage()->getClientScript();
$assets = $this->getRatingStyle()->getAssets();
$list = array();
foreach($assets as $file)
- $list[] = $this->getService()->getAsset($file);
+ $list[] = $this->publishFilePath($file);
return $list;
}
-
+
/**
* @param THtmlWriter writer
*/
@@ -146,7 +146,7 @@ abstract class TRatingListStyle
}
class TRatingListDefaultStyle extends TRatingListStyle
-{
+{
public function __construct()
{
parent::__construct();