public function attributeFile($attribute)
{
$value = $this->attribute($attribute);
if (null === $value) {
return null;
}
return Yii::app()->getRequest()->getBaseUrl(true) . '/' . Yii::app()->getModule('yupe')->uploadPath . '/' . Yii::app()->getModule('store')->uploadPath . '/product/' . $value;
}