플래닛 위젯 디자인 추가. 플래닛 사진 이미지 받아올때 width/height지정할 수 있도록 변경

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5181 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2008-12-26 03:19:16 +00:00
parent ac70118473
commit a8b20c5df9
6 changed files with 45 additions and 74 deletions

View file

@ -67,10 +67,10 @@
return $this->get('planet_title');
}
function getPhotoSrc() {
function getPhotoSrc($width=96,$height=96) {
if(!$this->isExists()) return;
$oPlanetModel = &getModel('planet');
return $oPlanetModel->getPlanetPhotoSrc($this->planet_srl);
return $oPlanetModel->getPlanetPhotoSrc($this->planet_srl, $width, $height);
}
function getMid() {