public function __construct()
{
if (empty($params)) {
$this->params = ComponentHelper::getParams('com_phocadownload');
}
if ($this->filePath == '') {
$this->filePath = PhocaDownloadPath::getPathSet('file');
}
if ($this->iconPath == '') {
$this->iconPath = PhocaDownloadPath::getPathSet('icon');
}
if ($this->cssImagePath == '') {
$this->cssImagePath = str_replace('../', Uri::base(true) . '/', $this->iconPath['orig_rel_ds']);
}
if ($this->fileAbsPath == '') {
$this->fileAbsPath = $this->filePath['orig_abs_ds'];
}
}