ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Interface ilObjFileImplementationInterface. More...
Public Member Functions | |
getDirectory ($a_version=0) | |
createDirectory () | |
replaceFile ($a_upload_file, $a_filename) | |
clearDataDirectory () | |
deleteVersions ($a_hist_entry_ids=null) | |
Deletes the specified history entries or all entries if no ids are specified. More... | |
setFileType ($a_type) | |
getFileType () | |
getStorageID () | |
setFileSize ($a_size) | |
handleChangedObjectTitle (string $new_title) | |
getFileSize () | |
getFile ($a_hist_entry_id=null) | |
setVersion ($a_version) | |
getVersion () | |
setMaxVersion ($a_max_version) | |
getMaxVersion () | |
sendFile ($a_hist_entry_id=null) | |
getFileExtension () | |
Returns the extension of the file name converted to lower-case. More... | |
storeUnzipedFile ($a_upload_file, $a_filename) | |
getVersions ($version_ids=null) | |
Gets the file versions for this object. More... | |
export (string $target_dir) | |
@depracated More... | |
Interface ilObjFileImplementationInterface.
Definition at line 7 of file interface.ilObjFileImplementationInterface.php.
ilObjFileImplementationInterface::clearDataDirectory | ( | ) |
Implemented in ilObjFile, ilObjFileImplementationAbstract, and ilObjFileImplementationLegacy.
ilObjFileImplementationInterface::createDirectory | ( | ) |
Implemented in ilObjFile, ilObjFileImplementationAbstract, and ilObjFileImplementationLegacy.
ilObjFileImplementationInterface::deleteVersions | ( | $a_hist_entry_ids = null | ) |
Deletes the specified history entries or all entries if no ids are specified.
array | $a_hist_entry_ids | The ids of the entries to delete or null to delete all entries |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::export | ( | string | $target_dir | ) |
@depracated
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getDirectory | ( | $a_version = 0 | ) |
int | $a_version |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getFile | ( | $a_hist_entry_id = null | ) |
null | $a_hist_entry_id |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getFileExtension | ( | ) |
Returns the extension of the file name converted to lower-case.
e.g. returns 'pdf' for 'document.pdf'.
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getFileSize | ( | ) |
Implemented in ilObjFile, and ilObjFileImplementationAbstract.
ilObjFileImplementationInterface::getFileType | ( | ) |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getMaxVersion | ( | ) |
Implemented in ilObjFile, and ilObjFileImplementationAbstract.
ilObjFileImplementationInterface::getStorageID | ( | ) |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::getVersion | ( | ) |
Implemented in ilObjFile, ilObjFileImplementationAbstract, and ilObjFileImplementationLegacy.
ilObjFileImplementationInterface::getVersions | ( | $version_ids = null | ) |
Gets the file versions for this object.
array | $version_ids | The file versions to get. If not specified all versions are returned. |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::handleChangedObjectTitle | ( | string | $new_title | ) |
Implemented in ilObjFile, ilObjFileImplementationLegacy, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::replaceFile | ( | $a_upload_file, | |
$a_filename | |||
) |
$a_upload_file | |
$a_filename |
ILIAS\FileUpload\Collection\Exception\NoSuchElementException
ILIAS\FileUpload\Exception\IllegalStateException
Implemented in ilObjFile, and ilObjFileImplementationAbstract.
ilObjFileImplementationInterface::sendFile | ( | $a_hist_entry_id = null | ) |
null | $a_hist_entry_id |
Implemented in ilObjFile, and ilObjFileImplementationStorage.
ilObjFileImplementationInterface::setFileSize | ( | $a_size | ) |
ilObjFileImplementationInterface::setFileType | ( | $a_type | ) |
ilObjFileImplementationInterface::setMaxVersion | ( | $a_max_version | ) |
$a_max_version |
Implemented in ilObjFile, and ilObjFileImplementationAbstract.
ilObjFileImplementationInterface::setVersion | ( | $a_version | ) |
ilObjFileImplementationInterface::storeUnzipedFile | ( | $a_upload_file, | |
$a_filename | |||
) |
string | $a_upload_file | |
string | $a_filename |
Implemented in ilObjFile, and ilObjFileImplementationAbstract.