journalId = $journal->getId(); $this->journal =& $journal; $this->filesDir = Config::getVar('files', 'files_dir') . '/journals/' . $this->journalId . '/'; parent::FileManager(); } function uploadFile($fileName, $destFileName) { return parent::uploadFile($fileName, $this->filesDir . $destFileName); } function downloadFile($filePath, $fileType, $inline = false) { return parent::downloadFile($this->filesDir . $filePath, $fileType, $inline); } function deleteFile($fileName) { return parent::deleteFile($this->filesDir . $fileName); } } ?>