Exemple #1
0
 function getStorageUrl($pParamHash = array())
 {
     $pParamHash['sub_dir'] = $this->getParameter($pParamHash, 'sub_dir', liberty_mime_get_storage_sub_dir_name(array('type' => $this->getField('mime_type'), 'name' => $this->getField('file_name'))));
     $pParamHash['user_id'] = $this->getParameter($pParamHash, 'user_id', $this->getField('user_id'));
     return parent::getStorageUrl($pParamHash) . $this->getParameter($pParamHash, 'attachment_id', $this->getField('attachment_id')) . '/';
 }