示例#1
0
 public function getPhotoUrl($type = null)
 {
     if (empty($this->file)) {
         return Zend_Registry::get('Zend_View')->getBaseUrl() . '/images/no_photo_thumb.jpg';
     }
     return parent::getPhotoUrl();
 }
示例#2
0
 public function getPhotoUrl($type = null)
 {
     if (empty($this->ten_file)) {
         return Khcn_View_Helper_GetBaseUrl::getBaseUrl() . '/images/nophoto_user.png';
     }
     return parent::getPhotoUrl($type);
 }