|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Inheritance diagram for ilObjFile:
Collaboration diagram for ilObjFile:Public Member Functions | |
| appendStream (FileStream $stream, string $title) | |
| appendUpload (UploadResult $result, string $title) | |
| replaceWithStream (FileStream $stream, string $title) | |
| replaceWithUpload (UploadResult $result, string $title) | |
| getFile ($a_hist_entry_id=null) | |
| getDirectory ($a_version=0) | |
| getVersion () | |
| setVersion ($a_version) | |
| getFileName () | |
| setFileName ($a_name) | |
| setRating ($a_value) | |
| setResourceId (?string $resource_id) | |
| getResourceId () | |
| getStorageID () | |
| getMode () | |
| setMode ($a_mode) | |
| getFileSize () | |
| setFileSize ($a_size) | |
| getFileType () | |
| setFileType ($a_type) | |
| hasRating () | |
| getMaxVersion () | |
| setMaxVersion ($a_max_version) | |
| getPageCount () | |
| setPageCount ($page_count) | |
| getAction () | |
| setAction ($a_action) | |
| handleChangedObjectTitle (string $new_title) | |
| initType () | |
| createDirectory () | |
| raiseUploadError ($raise=false) | |
| replaceFile ($a_upload_file, $a_filename) | |
| getUploadFile ($a_upload_file, string $title, bool $a_prevent_preview=false) | |
| @description This Method is used to append a fileupload by it's POST-name to the current ilObjFile More... | |
| isHidden () | |
| clearDataDirectory () | |
| @ineritdoc More... | |
| deleteVersions ($a_hist_entry_ids=null) | |
| @ineritdoc More... | |
| sendFile ($a_hist_entry_id=null) | |
| isInline () | |
| export (string $target_dir) | |
| storeUnzipedFile ($a_upload_file, $a_filename) | |
| storeUnzipedFile Stores Files unzipped from uploaded archive in filesystem More... | |
| getVersions ($version_ids=null) | |
| rollback (int $version_id) | |
| Makes the specified version the current one. More... | |
| checkFileExtension ($new_filename, $new_title) | |
| getFileExtension () | |
Public Member Functions inherited from ilObject2 | |
| __construct ($a_id=0, $a_reference=true) | |
| Constructor @access public. More... | |
| withReferences () | |
| determines wehter objects are referenced or not (got ref ids or not) More... | |
| read () | |
| Read data from db. More... | |
| setRefId ($a_id) | |
| set reference id @access public More... | |
| getRefId () | |
| get reference id @access public More... | |
| getType () | |
| get object type @access public More... | |
| setType ($a_type) | |
| set object type @access public More... | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| get object title @access public More... | |
| getUntranslatedTitle () | |
| get untranslated object title @access public More... | |
| setTitle ($a_title) | |
| set object title More... | |
| getDescription () | |
| get object description More... | |
| setDescription ($a_desc) | |
| set object description More... | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| get import id More... | |
| setImportId ($a_import_id) | |
| set import id More... | |
| getOwner () | |
| get object owner More... | |
| getOwnerName () | |
| setOwner ($a_owner) | |
| set object owner More... | |
| getCreateDate () | |
| get create date @access public More... | |
| getLastUpdateDate () | |
| get last update date @access public More... | |
| create ($a_clone_mode=false) | |
| update () | |
| update object in db More... | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree ($a_parent_ref) | |
| maybe this method should be in tree object!? More... | |
| setPermissions ($a_parent_ref) | |
| set permissions of object More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| count references of object More... | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | |
| setRegisterMode ($a_bool) | |
| isUserRegistered ($a_user_id=0) | |
| requireRegistration () | |
| appendCopyInfo ($a_target_id, $a_copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneMetaData ($target_obj) | |
| Copy meta data. More... | |
| cloneObject ($a_target_id, $a_copy_id=null, $a_omit_tree=false) | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone object dependencies. More... | |
Public Member Functions inherited from ilObject | |
| __construct ($a_id=0, $a_reference=true) | |
| Constructor @access public. More... | |
| withReferences () | |
| determines wehter objects are referenced or not (got ref ids or not) More... | |
| read () | |
| read object data from db into object More... | |
| getId () | |
| get object id @access public More... | |
| setId ($a_id) | |
| set object id @access public More... | |
| setRefId ($a_id) | |
| set reference id @access public More... | |
| getRefId () | |
| get reference id @access public More... | |
| getType () | |
| get object type @access public More... | |
| setType ($a_type) | |
| set object type @access public More... | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| get object title @access public More... | |
| getUntranslatedTitle () | |
| get untranslated object title @access public More... | |
| setTitle ($a_title) | |
| set object title More... | |
| getDescription () | |
| get object description More... | |
| setDescription ($a_desc) | |
| set object description More... | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| get import id More... | |
| setImportId ($a_import_id) | |
| set import id More... | |
| setOfflineStatus ($a_status) | |
| Set offline status. More... | |
| getOfflineStatus () | |
| Get offline status. More... | |
| supportsOfflineHandling () | |
| Check whether object supports offline handling. More... | |
| getOwner () | |
| get object owner More... | |
| getOwnerName () | |
| setOwner ($a_owner) | |
| set object owner More... | |
| getCreateDate () | |
| get create date @access public More... | |
| getLastUpdateDate () | |
| get last update date @access public More... | |
| getDiskUsage () | |
| Gets the disk usage of the object in bytes. More... | |
| create () | |
| create More... | |
| update () | |
| update object in db More... | |
| MDUpdateListener ($a_element) | |
| Meta data update listener. More... | |
| createMetaData () | |
| create meta data entry More... | |
| updateMetaData () | |
| update meta data entry More... | |
| deleteMetaData () | |
| delete meta data entry More... | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree ($a_parent_ref) | |
| maybe this method should be in tree object!? More... | |
| setPermissions ($a_parent_ref) | |
| set permissions of object More... | |
| setParentRolePermissions ($a_parent_ref) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g courses, groups for building permission intersections with non_member templates. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| count references of object More... | |
| delete () | |
| delete object or referenced object (in the case of a referenced object, object data is only deleted if last reference is deleted) This function removes an object entirely from system!! More... | |
| initDefaultRoles () | |
| init default roles settings Purpose of this function is to create a local role folder and local roles, that are needed depending on the object type If you want to setup default local roles you MUST overwrite this method in derived object classes (see ilObjForum for an example) @access public More... | |
| applyDidacticTemplate ($a_tpl_id) | |
| Apply template. More... | |
| setRegisterMode ($a_bool) | |
| isUserRegistered ($a_user_id=0) | |
| requireRegistration () | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo ($a_target_id, $a_copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies ($a_target_id, $a_copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData ($target_obj) | |
| Copy meta data. More... | |
| getPossibleSubObjects ($a_filter=true) | |
| get all possible subobjects of this type the object can decide which types of subobjects are possible jut in time overwrite if the decision distinguish from standard model More... | |
| 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... | |
Data Fields | |
| const | MODE_FILELIST = "filelist" |
| const | MODE_OBJECT = "object" |
| $mode = self::MODE_OBJECT | |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| max length of object title More... | |
| const | DESC_LENGTH = 128 |
| $lng | |
| $id | |
| $ref_id | |
| $type | |
| $title | |
| $untranslatedTitle | |
| $desc | |
| $long_desc | |
| $owner | |
| $create_date | |
| $last_update | |
| $import_id | |
| $register = false | |
| $referenced | |
| $objectList | |
| $max_title | |
| $max_desc | |
| $add_dots | |
Protected Member Functions | |
| initImplementation () | |
| doCreate ($a_upload=false) | |
| doUpdate () | |
| beforeUpdate () | |
| beforeDelete () | |
| doDelete () | |
Protected Member Functions inherited from ilObject2 | |
| initType () | |
| doRead () | |
| doCreate () | |
| beforeCreate () | |
| If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More... | |
| doUpdate () | |
| beforeUpdate () | |
| doMDUpdateListener ($a_element) | |
| beforeMDUpdateListener ($a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDelete () | |
| beforeDelete () | |
| doCloneObject ($new_obj, $a_target_id, $a_copy_id=null) | |
| beforeCloneObject () | |
Protected Attributes | |
| $implementation | |
| $page_count = 0 | |
| $rating = false | |
| $log | |
| $filename = '' | |
| $filetype = '' | |
| $filesize | |
| $version = 1 | |
| $max_version = 1 | |
| $action | |
| $resource_id | |
| $manager | |
| $upload | |
| $stakeholder | |
Protected Attributes inherited from ilObject | |
| $objDefinition | |
| $db | |
| $log | |
| $error | |
| $tree | |
| $app_event_handler | |
| $rbacadmin | |
| $rbacreview | |
Private Member Functions | |
| updateObjectFromRevision (Revision $r, bool $create_previews=true) | |
| appendSuffixToTitle (string $title, string $filename) | |
| getArrayForDatabase () | |
| prepareUpload () | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObject2 | |
| static | _lookupObjIdByImportId ($a_import_id) |
| static | _lookupOwnerName ($a_owner_id) |
| lookup owner name for owner id More... | |
| static | _getIdForImportId ($a_import_id) |
| get current object id for import id (static) More... | |
| static | _getAllReferences ($a_id) |
| get all reference ids of object More... | |
| static | _lookupTitle ($a_id) |
| lookup object title More... | |
| static | _lookupOwner ($a_id) |
| lookup object owner More... | |
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
| static | _lookupDescription ($a_id) |
| lookup object description More... | |
| static | _lookupLastUpdate ($a_id, $a_as_string=false) |
| lookup last update More... | |
| static | _getLastUpdateOfObjects ($a_objs) |
| Get last update for a set of media objects. More... | |
| static | _lookupObjId ($a_id) |
| static | _setDeletedDate ($a_ref_id, $a_deleted_by) |
| static | _resetDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _lookupDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _writeTitle ($a_obj_id, $a_title) |
| write title to db (static) More... | |
| static | _writeDescription ($a_obj_id, $a_desc) |
| write description to db (static) More... | |
| static | _writeImportId ($a_obj_id, $a_import_id) |
| write import id to db (static) More... | |
| static | _lookupType ($a_id, $a_reference=false) |
| lookup object type More... | |
| static | _isInTrash ($a_ref_id) |
| checks wether object is in trash More... | |
| static | _hasUntrashedReference ($a_obj_id) |
| checks wether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId ($a_ref_id) |
| lookup object id More... | |
| static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) |
| checks if an object exists in object_data@access public More... | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") |
| Get objects by type. More... | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $a_show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon ($a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
| Get icon for repository item. More... | |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId ($a_import_id) |
| static | _lookupImportId ($a_obj_id) |
| static | _lookupOwnerName ($a_owner_id) |
| lookup owner name for owner id More... | |
| static | _getIdForImportId ($a_import_id) |
| get current object id for import id (static) More... | |
| static | _getAllReferences ($a_id) |
| get all reference ids of object More... | |
| static | _lookupTitle ($a_id) |
| lookup object title More... | |
| static | lookupOfflineStatus ($a_obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner ($a_id) |
| lookup object owner More... | |
| static | _getIdsForTitle ($title, $type='', $partialmatch=false) |
| static | _lookupDescription ($a_id) |
| lookup object description More... | |
| static | _lookupLastUpdate ($a_id, $a_as_string=false) |
| lookup last update More... | |
| static | _getLastUpdateOfObjects ($a_objs) |
| Get last update for a set of media objects. More... | |
| static | _lookupObjId ($a_id) |
| static | _setDeletedDate ($a_ref_id, $a_deleted_by) |
| static | setDeletedDates ($a_ref_ids, $a_user_id) |
| Set deleted date. More... | |
| static | _resetDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _lookupDeletedDate ($a_ref_id) |
| only called in ilObjectGUI::insertSavedNodes More... | |
| static | _writeTitle ($a_obj_id, $a_title) |
| write title to db (static) More... | |
| static | _writeDescription ($a_obj_id, $a_desc) |
| write description to db (static) More... | |
| static | _writeImportId ($a_obj_id, $a_import_id) |
| write import id to db (static) More... | |
| static | _lookupType ($a_id, $a_reference=false) |
| lookup object type More... | |
| static | _isInTrash ($a_ref_id) |
| checks wether object is in trash More... | |
| static | _hasUntrashedReference ($a_obj_id) |
| checks wether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId ($a_ref_id) |
| lookup object id More... | |
| static | _getObjectsDataForType ($a_type, $a_omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists ($a_id, $a_reference=false, $a_type=null) |
| checks if an object exists in object_data@access public More... | |
| static | _getObjectsByType ($a_obj_type="", $a_owner="") |
| Get objects by type. More... | |
| static | _prepareCloneSelection ($a_ref_ids, $new_type, $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon ( $a_obj_id="", $a_size="big", $a_type="", $a_offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (&$deps, $a_ref_id, $a_obj_id, $a_type, $a_depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies ($a_obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $a_obj_ids) |
| Get long description data. More... | |
| static | getAllOwnedRepositoryObjects ($a_user_id) |
| Get all ids of objects user owns. More... | |
| static | fixMissingTitles ($a_type, array &$a_obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate ($a_id) |
| Lookup creation date. More... | |
| static | hasAutoRating ($a_type, $a_ref_id) |
| Check if auto rating is active for parent group/course. More... | |
| ilObjFile::appendStream | ( | FileStream | $stream, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 182 of file class.ilObjFile.php.
References $i, ilObject\$title, getResourceId(), initImplementation(), setResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:
|
private |
Definition at line 167 of file class.ilObjFile.php.
References $filename, and ilObject\$title.
Referenced by appendUpload(), and replaceWithUpload().
Here is the caller graph for this function:| ilObjFile::appendUpload | ( | UploadResult | $result, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 200 of file class.ilObjFile.php.
References $i, $result, ilObject\$title, appendSuffixToTitle(), ILIAS\FileUpload\DTO\UploadResult\getMetaData(), getResourceId(), initImplementation(), ilCountPDFPagesPreProcessors\PAGE_COUNT, setPageCount(), setResourceId(), and updateObjectFromRevision().
Referenced by getUploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Reimplemented from ilObject2.
Definition at line 561 of file class.ilObjFile.php.
|
protected |
Reimplemented from ilObject2.
Definition at line 551 of file class.ilObjFile.php.
References getMode(), and ilObject2\updateMetaData().
Here is the call graph for this function:| ilObjFile::checkFileExtension | ( | $new_filename, | |
| $new_title | |||
| ) |
| $new_filename | |
| $new_title |
Definition at line 778 of file class.ilObjFile.php.
References ilObjFileAccess\_getFileExtension(), and getFileName().
Here is the call graph for this function:| ilObjFile::clearDataDirectory | ( | ) |
@ineritdoc
Implements ilObjFileImplementationInterface.
Definition at line 681 of file class.ilObjFile.php.
| ilObjFile::createDirectory | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 624 of file class.ilObjFile.php.
| ilObjFile::deleteVersions | ( | $a_hist_entry_ids = null | ) |
@ineritdoc
Implements ilObjFileImplementationInterface.
Definition at line 690 of file class.ilObjFile.php.
|
protected |
| false | $a_upload |
Definition at line 431 of file class.ilObjFile.php.
References createProperties(), ilObject2\getDescription(), ilObject\getId(), and notifyCreation().
Here is the call graph for this function:
|
protected |
Reimplemented from ilObject2.
Definition at line 572 of file class.ilObjFile.php.
References $DIC, ilHistory\_removeEntriesForObject(), ilObject2\deleteMetaData(), ilObject\getId(), getMode(), and getResourceId().
Here is the call graph for this function:
|
protected |
Reimplemented from ilObject2.
Definition at line 525 of file class.ilObjFile.php.
References $DIC, getArrayForDatabase(), ilObject2\getDescription(), ilObject\getId(), getVersion(), and notifyUpdate().
Here is the call graph for this function:| ilObjFile::export | ( | string | $target_dir | ) |
| string | $target_dir |
Implements ilObjFileImplementationInterface.
Definition at line 717 of file class.ilObjFile.php.
| ilObjFile::getAction | ( | ) |
|
private |
Definition at line 603 of file class.ilObjFile.php.
References getFileName(), getFileSize(), getFileType(), ilObject\getId(), getMaxVersion(), getMode(), getPageCount(), getVersion(), and hasRating().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::getDirectory | ( | $a_version = 0 | ) |
| int | $a_version |
Implements ilObjFileImplementationInterface.
Definition at line 263 of file class.ilObjFile.php.
Referenced by storeUnzipedFile().
Here is the caller graph for this function:| ilObjFile::getFile | ( | $a_hist_entry_id = null | ) |
| null | $a_hist_entry_id |
Implements ilObjFileImplementationInterface.
Definition at line 258 of file class.ilObjFile.php.
| ilObjFile::getFileExtension | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 801 of file class.ilObjFile.php.
| ilObjFile::getFileName | ( | ) |
Definition at line 281 of file class.ilObjFile.php.
References $filename.
Referenced by checkFileExtension(), getArrayForDatabase(), and initImplementation().
Here is the caller graph for this function:| ilObjFile::getFileSize | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 338 of file class.ilObjFile.php.
References $filesize.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getFileType | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 354 of file class.ilObjFile.php.
References $filetype.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getMaxVersion | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 375 of file class.ilObjFile.php.
References $max_version.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getMode | ( | ) |
Definition at line 325 of file class.ilObjFile.php.
References $mode.
Referenced by beforeUpdate(), doDelete(), and getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getPageCount | ( | ) |
Definition at line 388 of file class.ilObjFile.php.
References $page_count.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getResourceId | ( | ) |
Definition at line 312 of file class.ilObjFile.php.
Referenced by appendStream(), appendUpload(), doDelete(), replaceWithStream(), replaceWithUpload(), and rollback().
Here is the caller graph for this function:| ilObjFile::getStorageID | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 317 of file class.ilObjFile.php.
| ilObjFile::getUploadFile | ( | $a_upload_file, | |
| string | $title, | ||
| bool | $a_prevent_preview = false |
||
| ) |
@description This Method is used to append a fileupload by it's POST-name to the current ilObjFile
Definition at line 656 of file class.ilObjFile.php.
References $results, $upload, appendUpload(), and prepareUpload().
Here is the call graph for this function:| ilObjFile::getVersion | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 268 of file class.ilObjFile.php.
References $version.
Referenced by doUpdate(), getArrayForDatabase(), initImplementation(), and storeUnzipedFile().
Here is the caller graph for this function:| ilObjFile::getVersions | ( | $version_ids = null | ) |
| null | $version_ids |
Implements ilObjFileImplementationInterface.
Definition at line 752 of file class.ilObjFile.php.
| ilObjFile::handleChangedObjectTitle | ( | string | $new_title | ) |
Implements ilObjFileImplementationInterface.
Definition at line 419 of file class.ilObjFile.php.
References ilObject2\setTitle().
Here is the call graph for this function:| ilObjFile::hasRating | ( | ) |
Definition at line 370 of file class.ilObjFile.php.
References $rating.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:
|
protected |
Definition at line 132 of file class.ilObjFile.php.
References ilObject\$id, getFileName(), ilObject\getId(), getVersion(), setMaxVersion(), and setVersion().
Referenced by appendStream(), and appendUpload().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::initType | ( | ) |
Reimplemented from ilObject2.
Definition at line 619 of file class.ilObjFile.php.
| ilObjFile::isHidden | ( | ) |
Definition at line 672 of file class.ilObjFile.php.
References ilObjFileAccess\_isFileHidden(), and ilObject2\getTitle().
Here is the call graph for this function:| ilObjFile::isInline | ( | ) |
Definition at line 708 of file class.ilObjFile.php.
References ilObjFileAccess\_isFileInline(), and ilObject2\getTitle().
Here is the call graph for this function:
|
private |
Definition at line 640 of file class.ilObjFile.php.
Referenced by getUploadFile().
Here is the caller graph for this function:| ilObjFile::raiseUploadError | ( | $raise = false | ) |
Definition at line 629 of file class.ilObjFile.php.
| ilObjFile::replaceFile | ( | $a_upload_file, | |
| $a_filename | |||
| ) |
| $a_upload_file | |
| $a_filename |
ILIAS\FileUpload\Collection\Exception\NoSuchElementException
ILIAS\FileUpload\Exception\IllegalStateException
Implements ilObjFileImplementationInterface.
Definition at line 635 of file class.ilObjFile.php.
| ilObjFile::replaceWithStream | ( | FileStream | $stream, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 222 of file class.ilObjFile.php.
References $i, ilObject\$title, getResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::replaceWithUpload | ( | UploadResult | $result, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 237 of file class.ilObjFile.php.
References $i, $result, ilObject\$title, appendSuffixToTitle(), ILIAS\FileUpload\DTO\UploadResult\getMetaData(), getResourceId(), ilCountPDFPagesPreProcessors\PAGE_COUNT, setPageCount(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::rollback | ( | int | $version_id | ) |
Makes the specified version the current one.
| int | $version_id | The id of the version to make the current one. |
Definition at line 761 of file class.ilObjFile.php.
References $i, getResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::sendFile | ( | $a_hist_entry_id = null | ) |
| null | $a_hist_entry_id |
Implements ilObjFileImplementationInterface.
Definition at line 699 of file class.ilObjFile.php.
| ilObjFile::setAction | ( | $a_action | ) |
| $a_action |
Definition at line 414 of file class.ilObjFile.php.
| ilObjFile::setFileName | ( | $a_name | ) |
| string | $a_name |
Definition at line 289 of file class.ilObjFile.php.
Referenced by updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::setFileSize | ( | $a_size | ) |
| $a_size |
Implements ilObjFileImplementationInterface.
Definition at line 346 of file class.ilObjFile.php.
Referenced by updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::setFileType | ( | $a_type | ) |
| string | $a_type |
Implements ilObjFileImplementationInterface.
Definition at line 362 of file class.ilObjFile.php.
Referenced by updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::setMaxVersion | ( | $a_max_version | ) |
| $a_max_version |
Implements ilObjFileImplementationInterface.
Definition at line 380 of file class.ilObjFile.php.
Referenced by initImplementation(), and updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::setMode | ( | $a_mode | ) |
| $a_mode | self::MODE_FILELIST or self::MODE_OBJECT |
Definition at line 333 of file class.ilObjFile.php.
| ilObjFile::setPageCount | ( | $page_count | ) |
| int | $page_count |
Definition at line 396 of file class.ilObjFile.php.
References $page_count.
Referenced by appendUpload(), and replaceWithUpload().
Here is the caller graph for this function:| ilObjFile::setRating | ( | $a_value | ) |
| bool | $a_value |
Definition at line 297 of file class.ilObjFile.php.
| ilObjFile::setResourceId | ( | ?string | $resource_id | ) |
| string | null | $resource_id |
Definition at line 306 of file class.ilObjFile.php.
References $resource_id.
Referenced by appendStream(), and appendUpload().
Here is the caller graph for this function:| ilObjFile::setVersion | ( | $a_version | ) |
| $a_version |
Implements ilObjFileImplementationInterface.
Definition at line 273 of file class.ilObjFile.php.
Referenced by initImplementation(), storeUnzipedFile(), and updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::storeUnzipedFile | ( | $a_upload_file, | |
| $a_filename | |||
| ) |
storeUnzipedFile Stores Files unzipped from uploaded archive in filesystem
| string | $a_upload_file | |
| string | $a_filename |
Implements ilObjFileImplementationInterface.
Definition at line 730 of file class.ilObjFile.php.
References getDirectory(), ilFileUtils\getValidFilename(), getVersion(), ilUtil\makeDir(), ilFileUtils\rename(), and setVersion().
Here is the call graph for this function:Definition at line 153 of file class.ilObjFile.php.
References ILIAS\ResourceStorage\Revision\Revision\getInformation(), ILIAS\ResourceStorage\Revision\Revision\getTitle(), ILIAS\ResourceStorage\Revision\Revision\getVersionNumber(), setFileName(), setFileSize(), setFileType(), setMaxVersion(), ilObject2\setTitle(), setVersion(), and ilObject2\update().
Referenced by appendStream(), appendUpload(), replaceWithStream(), replaceWithUpload(), and rollback().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 86 of file class.ilObjFile.php.
Referenced by getAction().
|
protected |
Definition at line 66 of file class.ilObjFile.php.
Referenced by appendSuffixToTitle(), and getFileName().
|
protected |
Definition at line 74 of file class.ilObjFile.php.
Referenced by getFileSize().
|
protected |
Definition at line 70 of file class.ilObjFile.php.
Referenced by getFileType().
|
protected |
Definition at line 47 of file class.ilObjFile.php.
|
protected |
Definition at line 60 of file class.ilObjFile.php.
|
protected |
Definition at line 101 of file class.ilObjFile.php.
|
protected |
Definition at line 82 of file class.ilObjFile.php.
Referenced by getMaxVersion().
| ilObjFile::$mode = self::MODE_OBJECT |
Definition at line 97 of file class.ilObjFile.php.
Referenced by getMode().
|
protected |
Definition at line 52 of file class.ilObjFile.php.
Referenced by getPageCount(), and setPageCount().
|
protected |
Definition at line 56 of file class.ilObjFile.php.
Referenced by hasRating().
|
protected |
Definition at line 92 of file class.ilObjFile.php.
Referenced by setResourceId().
|
protected |
Definition at line 109 of file class.ilObjFile.php.
|
protected |
Definition at line 105 of file class.ilObjFile.php.
Referenced by getUploadFile().
|
protected |
Definition at line 78 of file class.ilObjFile.php.
Referenced by getVersion().
| const ilObjFile::MODE_FILELIST = "filelist" |
Definition at line 41 of file class.ilObjFile.php.
| const ilObjFile::MODE_OBJECT = "object" |
Definition at line 42 of file class.ilObjFile.php.