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