|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Inheritance diagram for ilObjFile:
Collaboration diagram for ilObjFile:Public Member Functions | |
| __construct (int $a_id=0, bool $a_call_by_reference=true) | |
| ilObjFile constructor. More... | |
| getPresentationTitle () | |
| updateObjectFromCurrentRevision () | |
| appendSuffixToTitle (string $title, string $filename) | |
| appendStream (FileStream $stream, string $title) | |
| appendUpload (UploadResult $result, string $title) | |
| replaceWithStream (FileStream $stream, string $title) | |
| replaceWithUpload (UploadResult $result, string $title) | |
| getFile (?int $a_hist_entry_id=null) | |
| getDirectory ($a_version=0) | |
| getDownloadFilename () | |
| getImportantInfo () | |
| setImportantInfo (string $a_important_info) | |
| getVersion (bool $inclduing_drafts=false) | |
| setVersion (int $a_version) | |
| getFileName () | |
| setFileName (string $a_name) | |
| setRating (bool $a_value) | |
| setResourceId (?string $resource_id) | |
| getResourceId () | |
| getStorageID () | |
| getMode () | |
| setMode (string $a_mode) | |
| getFileSize () | |
| setFileSize (int $a_size) | |
| getFileType () | |
| setFileType (string $a_type) | |
| hasRating () | |
| getMaxVersion () | |
| setMaxVersion (int $a_max_version) | |
| getCopyrightID () | |
| setCopyrightID (?int $copyright_id) | |
| getPageCount () | |
| setPageCount (int $page_count) | |
| getAction () | |
| directDownload () | |
| getOnClickMode () | |
| setOnclickMode (int $on_click_mode) | |
| getAmountOfDownloads () | |
| setAmountOfDownloads (int $amount) | |
| getLPMode () | |
| setAction (string $a_action) | |
| handleChangedObjectTitle (string $new_title) | |
| replaceFile ($a_upload_file, $a_filename) | |
| getUploadFile ($a_upload_file, string $title, bool $a_prevent_preview=false) | |
| This Method is used to append a fileupload by it's POST-name to the current ilObjFile More... | |
| isHidden () | |
| clearDataDirectory () | |
| deleteVersions ($a_hist_entry_ids=null) | |
| sendFile (?int $a_hist_entry_id=null, bool $inline=true) | |
| export (string $a_target_dir) | |
| getVersions ($version_ids=null) | |
| rollback (int $version_id) | |
| Makes the specified version the current one. More... | |
| checkFileExtension (string $new_filename, string $new_title) | |
| getFileExtension () | |
| Returns the extension of the file name converted to lower-case. More... | |
| stripTitleOfFileExtension (string $a_title) | |
Public Member Functions inherited from ilObject2 | |
| __construct (int $a_id=0, bool $a_reference=true) | |
| Constructor. More... | |
| read () | |
| create (bool $a_clone_mode=false) | |
| update () | |
| delete () | |
| cloneMetaData (ilObject $target_obj) | |
| cloneObject (int $target_id, int $copy_id=0, bool $omit_tree=false) | |
Public Member Functions inherited from ilObject | |
| getObjectProperties () | |
| flushObjectProperties () | |
| withReferences () | |
| determines whether objects are referenced or not (got ref ids or not) More... | |
| processAutoRating () | |
| read () | |
| getId () | |
| setId (int $id) | |
| setRefId (int $ref_id) | |
| getRefId () | |
| getType () | |
| setType (string $type) | |
| getPresentationTitle () | |
| get presentation title Normally same as title Overwritten for sessions More... | |
| getTitle () | |
| getUntranslatedTitle () | |
| Get untranslated object title WebDAV needs to access the untranslated title of an object. More... | |
| setTitle (string $title) | |
| getDescription () | |
| setDescription (string $description) | |
| getLongDescription () | |
| get object long description (stored in object_description) More... | |
| getImportId () | |
| setImportId (string $import_id) | |
| setOfflineStatus (bool $status) | |
| getOfflineStatus () | |
| supportsOfflineHandling () | |
| getOwner () | |
| getOwnerName () | |
| get full name of object owner More... | |
| setOwner (int $usr_id) | |
| getCreateDate () | |
| Get create date in YYYY-MM-DD HH-MM-SS format. More... | |
| getLastUpdateDate () | |
| Get last update date in YYYY-MM-DD HH-MM-SS format. More... | |
| create () | |
| note: title, description and type should be set when this function is called More... | |
| update () | |
| MDUpdateListener (string $element) | |
| Metadata update listener. More... | |
| createMetaData () | |
| updateMetaData () | |
| deleteMetaData () | |
| updateOwner () | |
| update owner of object in db More... | |
| putInTree (int $parent_ref_id) | |
| maybe this method should be in tree object!? More... | |
| setPermissions (int $parent_ref_id) | |
| setParentRolePermissions (int $parent_ref_id) | |
| Initialize the permissions of parent roles (local roles of categories, global roles...) This method is overwritten in e.g. More... | |
| createReference () | |
| creates reference for object More... | |
| countReferences () | |
| 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. More... | |
| applyDidacticTemplate (int $tpl_id) | |
| getXMLZip () | |
| getHTMLDirectory () | |
| appendCopyInfo (int $target_id, int $copy_id) | |
| Prepend Copy info if object with same name exists in that container. More... | |
| cloneDependencies (int $target_id, int $copy_id) | |
| Clone object dependencies. More... | |
| cloneMetaData (ilObject $target_obj) | |
| Copy meta data. More... | |
| selfOrParentWithRatingEnabled () | |
| getPossibleSubObjects (bool $filter=true) | |
| get all possible sub objects of this type the object can decide which types of sub objects are possible jut in time overwrite if the decision distinguish from standard model More... | |
Public Member Functions inherited from ilObjFileImplementationInterface | |
| getDirectory (int $a_version=0) | |
| deleteVersions (?array $a_hist_entry_ids=null) | |
| Deletes the specified history entries or all entries if no ids are specified. More... | |
| getVersions (?array $version_ids=null) | |
| Gets the file versions for this object. More... | |
Data Fields | |
| const | MODE_FILELIST = "filelist" |
| const | MODE_OBJECT = "object" |
| const | OBJECT_TYPE = "file" |
| const | CLICK_MODE_DOWNLOAD = 1 |
| const | CLICK_MODE_INFOPAGE = 2 |
| string | $mode = self::MODE_OBJECT |
Data Fields inherited from ilObject | |
| const | TITLE_LENGTH = 255 |
| const | DESC_LENGTH = 128 |
| const | LONG_DESC_LENGTH = 4000 |
| const | TABLE_OBJECT_DATA = "object_data" |
| array | $objectList |
| string | $untranslatedTitle |
Protected Member Functions | |
| initFileInfo (int $id, bool $is_ref_id) | |
| initImplementation () | |
| doCreate (bool $clone_mode=false) | |
| doRead () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=0) | |
| doUpdate () | |
| beforeUpdate () | |
| beforeDelete () | |
| doDelete () | |
| initType () | |
Protected Member Functions inherited from ilObject2 | |
| initType () | |
| doRead () | |
| doCreate (bool $clone_mode=false) | |
| beforeCreate () | |
| If overwritten this method should return true, there is currently no "abort" handling for cases where "false" is returned. More... | |
| doUpdate () | |
| beforeUpdate () | |
| doDelete () | |
| beforeDelete () | |
| doCloneObject (ilObject2 $new_obj, int $a_target_id, ?int $a_copy_id=null) | |
| beforeCloneObject () | |
Protected Member Functions inherited from ilObject | |
| doMDUpdateListener (string $a_element) | |
| beforeMDUpdateListener (string $a_element) | |
| doCreateMetaData () | |
| beforeCreateMetaData () | |
| doUpdateMetaData () | |
| beforeUpdateMetaData () | |
| doDeleteMetaData () | |
| beforeDeleteMetaData () | |
| handleAutoRating () | |
| hasAutoRating () | |
Private Member Functions | |
| updateObjectFromRevision (Revision $r) | |
| getArrayForDatabase () | |
| prepareUpload () | |
Private Attributes | |
| ilDBInterface | $database |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObject | |
| static | _lookupObjIdByImportId (string $import_id) |
| Get (latest) object id for an import id. More... | |
| static | _lookupImportId (int $obj_id) |
| static | _lookupOwnerName (int $owner_id) |
| Lookup owner name for owner id. More... | |
| static | _getIdForImportId (string $import_id) |
| static | _getAllReferences (int $id) |
| get all reference ids for object ID More... | |
| static | _lookupTitle (int $obj_id) |
| static | lookupOfflineStatus (int $obj_id) |
| Lookup offline status using objectDataCache. More... | |
| static | _lookupOwner (int $obj_id) |
| Lookup owner user ID for object ID. More... | |
| static | _getIdsForTitle (string $title, string $type='', bool $partial_match=false) |
| static | _lookupDescription (int $obj_id) |
| static | _lookupLastUpdate (int $obj_id, bool $formatted=false) |
| static | _getLastUpdateOfObjects (array $obj_ids) |
| static | _lookupObjId (int $ref_id) |
| static | _setDeletedDate (int $ref_id, int $deleted_by) |
| static | setDeletedDates (array $ref_ids, int $user_id) |
| static | _resetDeletedDate (int $ref_id) |
| static | _lookupDeletedDate (int $ref_id) |
| static | _writeTitle (int $obj_id, string $title) |
| write title to db (static) More... | |
| static | _writeDescription (int $obj_id, string $desc) |
| write description to db (static) More... | |
| static | _writeImportId (int $obj_id, string $import_id) |
| write import id to db (static) More... | |
| static | _lookupType (int $id, bool $reference=false) |
| static | _isInTrash (int $ref_id) |
| static | _hasUntrashedReference (int $obj_id) |
| checks whether an object has at least one reference that is not in trash More... | |
| static | _lookupObjectId (int $ref_id) |
| static | _getObjectsDataForType (string $type, bool $omit_trash=false) |
| get all objects of a certain type More... | |
| static | _exists (int $id, bool $reference=false, ?string $type=null) |
| checks if an object exists in object_data More... | |
| static | _getObjectsByType (string $obj_type="", int $owner=null) |
| static | _prepareCloneSelection (array $ref_ids, string $new_type, bool $show_path=true) |
| Prepare copy wizard object selection. More... | |
| static | _getIcon (int $obj_id=0, string $size="big", string $type="", bool $offline=false) |
| Get icon for repository item. More... | |
| static | collectDeletionDependencies (array &$deps, int $ref_id, int $obj_id, string $type, int $depth=0) |
| Collect deletion dependencies. More... | |
| static | getDeletionDependencies (int $obj_id) |
| Get deletion dependencies. More... | |
| static | getLongDescriptions (array $obj_ids) |
| static | getAllOwnedRepositoryObjects (int $user_id) |
| static | fixMissingTitles ($type, array &$obj_title_map) |
| Try to fix missing object titles. More... | |
| static | _lookupCreationDate (int $obj_id) |
| static | _getObjectTypeIdByTitle (string $type, \ilDBInterface $ilDB=null) |
| ilObjFile::__construct | ( | int | $a_id = 0, |
| bool | $a_call_by_reference = true |
||
| ) |
ilObjFile constructor.
| int | $a_id | ID of the object, ref_id or obj_id possible |
| bool | $a_call_by_reference | defines the $a_id a ref_id |
Definition at line 74 of file class.ilObjFile.php.
References $DIC, ILIAS\MetaData\Repository\Validation\Data\__construct(), ilLoggerFactory\getLogger(), initFileInfo(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ilObjFile::appendStream | ( | FileStream | $stream, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 154 of file class.ilObjFile.php.
References enableNotification(), ensureSuffix(), extractSuffixFromFilename(), getResourceId(), initImplementation(), setResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::appendSuffixToTitle | ( | string | $title, |
| string | $filename | ||
| ) |
Definition at line 138 of file class.ilObjFile.php.
References ilObject\$title, ensureSuffix(), and extractSuffixFromFilename().
Referenced by appendUpload(), checkFileExtension(), and replaceWithUpload().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::appendUpload | ( | UploadResult | $result, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 179 of file class.ilObjFile.php.
References appendSuffixToTitle(), enableNotification(), ILIAS\FileUpload\DTO\UploadResult\getMetaData(), ILIAS\FileUpload\DTO\UploadResult\getName(), 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 |
Definition at line 533 of file class.ilObjFile.php.
|
protected |
Definition at line 516 of file class.ilObjFile.php.
References ensureSuffix(), extractSuffixFromFilename(), getMode(), ilObject\getTitle(), ilObject\setTitle(), updateCopyright(), and ilObject\updateMetaData().
Here is the call graph for this function:| ilObjFile::checkFileExtension | ( | string | $new_filename, |
| string | $new_title | ||
| ) |
Definition at line 699 of file class.ilObjFile.php.
References appendSuffixToTitle().
Here is the call graph for this function:| ilObjFile::clearDataDirectory | ( | ) |
Definition at line 636 of file class.ilObjFile.php.
| ilObjFile::deleteVersions | ( | $a_hist_entry_ids = null | ) |
Definition at line 645 of file class.ilObjFile.php.
References getResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::directDownload | ( | ) |
Definition at line 390 of file class.ilObjFile.php.
|
protected |
Definition at line 471 of file class.ilObjFile.php.
References ilObject2\cloneMetaData(), ilObject\getId(), ilObject\getObjectProperties(), getPageCount(), ilObject\getTitle(), ilObject\setTitle(), and ilObject2\update().
Here is the call graph for this function:
|
protected |
Definition at line 441 of file class.ilObjFile.php.
References createProperties(), ilObject\getDescription(), ilObject\getId(), ilObject\getObjectProperties(), notifyCreation(), and updateCopyright().
Here is the call graph for this function:
|
protected |
Definition at line 540 of file class.ilObjFile.php.
References ilHistory\_removeEntriesForObject(), ilObject\deleteMetaData(), ilObject\getId(), getMode(), and getResourceId().
Here is the call graph for this function:
|
protected |
Definition at line 449 of file class.ilObjFile.php.
References $q, $r, ilObject\getId(), initImplementation(), and ILIAS\Repository\int().
Here is the call graph for this function:
|
protected |
Definition at line 502 of file class.ilObjFile.php.
References getArrayForDatabase(), ilObject\getDescription(), ilObject\getId(), initImplementation(), and notifyUpdate().
Here is the call graph for this function:| ilObjFile::export | ( | string | $a_target_dir | ) |
Definition at line 667 of file class.ilObjFile.php.
| ilObjFile::getAction | ( | ) |
| ilObjFile::getAmountOfDownloads | ( | ) |
Definition at line 405 of file class.ilObjFile.php.
References $amount_of_downloads.
Referenced by getArrayForDatabase(), and sendFile().
Here is the caller graph for this function:
|
private |
Definition at line 566 of file class.ilObjFile.php.
References getAmountOfDownloads(), getFileName(), ilObject\getId(), getImportantInfo(), getMode(), getOnClickMode(), getPageCount(), and hasRating().
Referenced by doUpdate().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::getCopyrightID | ( | ) |
| ilObjFile::getDirectory | ( | $a_version = 0 | ) |
Definition at line 244 of file class.ilObjFile.php.
| ilObjFile::getDownloadFilename | ( | ) |
Definition at line 249 of file class.ilObjFile.php.
| ilObjFile::getFile | ( | ?int | $a_hist_entry_id = null | ) |
Implements ilObjFileImplementationInterface.
Definition at line 238 of file class.ilObjFile.php.
References initImplementation().
Referenced by ilCollectWorkspaceFilesJob\getFileDirs().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::getFileExtension | ( | ) |
Returns the extension of the file name converted to lower-case.
e.g. returns 'pdf' for 'document.pdf'.
Implements ilObjFileImplementationInterface.
Definition at line 704 of file class.ilObjFile.php.
| ilObjFile::getFileName | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 274 of file class.ilObjFile.php.
Referenced by getArrayForDatabase(), and ilDclReferenceFieldRepresentation\getInputField().
Here is the caller graph for this function:| ilObjFile::getFileSize | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 318 of file class.ilObjFile.php.
| ilObjFile::getFileType | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 331 of file class.ilObjFile.php.
| ilObjFile::getImportantInfo | ( | ) |
Definition at line 254 of file class.ilObjFile.php.
References $important_info.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getLPMode | ( | ) |
Definition at line 419 of file class.ilObjFile.php.
References ilObject\getId(), and ilObjectLP\getInstance().
Here is the call graph for this function:| ilObjFile::getMaxVersion | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 349 of file class.ilObjFile.php.
References $max_version.
| ilObjFile::getMode | ( | ) |
Definition at line 305 of file class.ilObjFile.php.
References $mode.
Referenced by beforeUpdate(), doDelete(), and getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getOnClickMode | ( | ) |
Definition at line 395 of file class.ilObjFile.php.
References $on_click_mode.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getPageCount | ( | ) |
Definition at line 372 of file class.ilObjFile.php.
References $page_count.
Referenced by doCloneObject(), and getArrayForDatabase().
Here is the caller graph for this function:| ilObjFile::getPresentationTitle | ( | ) |
Definition at line 100 of file class.ilObjFile.php.
| ilObjFile::getResourceId | ( | ) |
Definition at line 295 of file class.ilObjFile.php.
Referenced by appendStream(), appendUpload(), deleteVersions(), doDelete(), replaceWithStream(), replaceWithUpload(), and rollback().
Here is the caller graph for this function:| ilObjFile::getStorageID | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 300 of file class.ilObjFile.php.
| ilObjFile::getUploadFile | ( | $a_upload_file, | |
| string | $title, | ||
| bool | $a_prevent_preview = false |
||
| ) |
This Method is used to append a fileupload by it's POST-name to the current ilObjFile
Definition at line 612 of file class.ilObjFile.php.
References $results, appendUpload(), prepareUpload(), and ILIAS\Repository\upload().
Here is the call graph for this function:| ilObjFile::getVersion | ( | bool | $inclduing_drafts = false | ) |
Implements ilObjFileImplementationInterface.
Definition at line 264 of file class.ilObjFile.php.
| ilObjFile::getVersions | ( | $version_ids = null | ) |
| null | $version_ids |
Definition at line 676 of file class.ilObjFile.php.
Referenced by ilObjFileComponentBuilder\buildConfirmDeleteSpecificVersionsModal().
Here is the caller graph for this function:| ilObjFile::handleChangedObjectTitle | ( | string | $new_title | ) |
Implements ilObjFileImplementationInterface.
Definition at line 434 of file class.ilObjFile.php.
References ensureSuffix(), and ilObject\setTitle().
Here is the call graph for this function:| ilObjFile::hasRating | ( | ) |
Definition at line 344 of file class.ilObjFile.php.
References $rating.
Referenced by getArrayForDatabase().
Here is the caller graph for this function:
|
protected |
Definition at line 90 of file class.ilObjFile.php.
Referenced by __construct(), initImplementation(), and updateObjectFromRevision().
Here is the caller graph for this function:
|
protected |
Definition at line 105 of file class.ilObjFile.php.
References $id, ilObject\getId(), and initFileInfo().
Referenced by appendStream(), appendUpload(), doRead(), doUpdate(), and getFile().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 581 of file class.ilObjFile.php.
| ilObjFile::isHidden | ( | ) |
Definition at line 627 of file class.ilObjFile.php.
References ilObjFileAccess\_isFileHidden(), and ilObject\getTitle().
Here is the call graph for this function:
|
private |
Definition at line 596 of file class.ilObjFile.php.
References ILIAS\Repository\upload().
Referenced by getUploadFile().
Here is the call graph for this function:
Here is the caller graph for this function:| ilObjFile::replaceFile | ( | $a_upload_file, | |
| $a_filename | |||
| ) |
| ilObjFile::replaceWithStream | ( | FileStream | $stream, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 202 of file class.ilObjFile.php.
References enableNotification(), getResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::replaceWithUpload | ( | UploadResult | $result, |
| string | $title | ||
| ) |
| FileNamePolicyException |
Definition at line 218 of file class.ilObjFile.php.
References appendSuffixToTitle(), enableNotification(), ILIAS\FileUpload\DTO\UploadResult\getMetaData(), ILIAS\FileUpload\DTO\UploadResult\getName(), 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 685 of file class.ilObjFile.php.
References getResourceId(), and updateObjectFromRevision().
Here is the call graph for this function:| ilObjFile::sendFile | ( | ?int | $a_hist_entry_id = null, |
| bool | $inline = true |
||
| ) |
| bool | $inline |
Implements ilObjFileImplementationInterface.
Definition at line 655 of file class.ilObjFile.php.
References getAmountOfDownloads(), ilObject\getId(), setAmountOfDownloads(), and ilObject2\update().
Here is the call graph for this function:| ilObjFile::setAction | ( | string | $a_action | ) |
| ilObjFile::setAmountOfDownloads | ( | int | $amount | ) |
Definition at line 410 of file class.ilObjFile.php.
Referenced by sendFile().
Here is the caller graph for this function:| ilObjFile::setCopyrightID | ( | ?int | $copyright_id | ) |
| ilObjFile::setFileName | ( | string | $a_name | ) |
Definition at line 279 of file class.ilObjFile.php.
Referenced by updateObjectFromRevision().
Here is the caller graph for this function:| ilObjFile::setFileSize | ( | int | $a_size | ) |
Definition at line 326 of file class.ilObjFile.php.
| ilObjFile::setFileType | ( | string | $a_type | ) |
Definition at line 339 of file class.ilObjFile.php.
| ilObjFile::setImportantInfo | ( | string | $a_important_info | ) |
Definition at line 259 of file class.ilObjFile.php.
| ilObjFile::setMaxVersion | ( | int | $a_max_version | ) |
Definition at line 357 of file class.ilObjFile.php.
| ilObjFile::setMode | ( | string | $a_mode | ) |
| string | $a_mode | self::MODE_FILELIST or self::MODE_OBJECT |
Definition at line 313 of file class.ilObjFile.php.
| ilObjFile::setOnclickMode | ( | int | $on_click_mode | ) |
| ilObjFile::setPageCount | ( | int | $page_count | ) |
Definition at line 377 of file class.ilObjFile.php.
References $page_count.
Referenced by appendUpload(), and replaceWithUpload().
Here is the caller graph for this function:| ilObjFile::setRating | ( | bool | $a_value | ) |
Definition at line 284 of file class.ilObjFile.php.
| ilObjFile::setResourceId | ( | ?string | $resource_id | ) |
Definition at line 289 of file class.ilObjFile.php.
References $resource_id.
Referenced by appendStream(), and appendUpload().
Here is the caller graph for this function:| ilObjFile::setVersion | ( | int | $a_version | ) |
Definition at line 269 of file class.ilObjFile.php.
| ilObjFile::stripTitleOfFileExtension | ( | string | $a_title | ) |
Definition at line 709 of file class.ilObjFile.php.
| ilObjFile::updateObjectFromCurrentRevision | ( | ) |
Definition at line 118 of file class.ilObjFile.php.
References updateObjectFromRevision().
Here is the call graph for this function:
|
private |
Definition at line 125 of file class.ilObjFile.php.
References ensureSuffix(), extractSuffixFromFilename(), ilObject\getId(), ILIAS\ResourceStorage\Revision\Revision\getInformation(), ILIAS\ResourceStorage\Revision\Revision\getTitle(), initFileInfo(), setFileName(), ilObject\setTitle(), and ilObject2\update().
Referenced by appendStream(), appendUpload(), deleteVersions(), replaceWithStream(), replaceWithUpload(), rollback(), and updateObjectFromCurrentRevision().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 59 of file class.ilObjFile.php.
Referenced by getAction().
|
protected |
Definition at line 67 of file class.ilObjFile.php.
Referenced by getAmountOfDownloads().
|
protected |
Definition at line 58 of file class.ilObjFile.php.
Referenced by getCopyrightID(), and setCopyrightID().
|
private |
Definition at line 65 of file class.ilObjFile.php.
|
protected |
Definition at line 45 of file class.ilObjFile.php.
|
protected |
Definition at line 53 of file class.ilObjFile.php.
|
protected |
Definition at line 55 of file class.ilObjFile.php.
|
protected |
Definition at line 54 of file class.ilObjFile.php.
|
protected |
Definition at line 47 of file class.ilObjFile.php.
|
protected |
Definition at line 49 of file class.ilObjFile.php.
Referenced by getImportantInfo().
|
protected |
Definition at line 52 of file class.ilObjFile.php.
|
protected |
Definition at line 62 of file class.ilObjFile.php.
|
protected |
Definition at line 57 of file class.ilObjFile.php.
Referenced by getMaxVersion().
| string ilObjFile::$mode = self::MODE_OBJECT |
Definition at line 61 of file class.ilObjFile.php.
Referenced by getMode().
|
protected |
Definition at line 66 of file class.ilObjFile.php.
Referenced by getOnClickMode(), and setOnclickMode().
|
protected |
Definition at line 50 of file class.ilObjFile.php.
Referenced by getPageCount(), and setPageCount().
|
protected |
Definition at line 51 of file class.ilObjFile.php.
Referenced by hasRating().
|
protected |
Definition at line 60 of file class.ilObjFile.php.
Referenced by setResourceId().
|
protected |
Definition at line 64 of file class.ilObjFile.php.
|
protected |
Definition at line 63 of file class.ilObjFile.php.
|
protected |
Definition at line 56 of file class.ilObjFile.php.
| const ilObjFile::CLICK_MODE_DOWNLOAD = 1 |
Definition at line 43 of file class.ilObjFile.php.
Referenced by ilObjFileAccess\_shouldDownloadDirectly(), ilObjFileGUI\initPropertiesForm(), ilObjFileInfoRepository\preloadData(), and ilFileObjectDatabaseObjective\step_1().
| const ilObjFile::CLICK_MODE_INFOPAGE = 2 |
Definition at line 44 of file class.ilObjFile.php.
Referenced by ilObjFileGUI\initPropertiesForm().
| const ilObjFile::MODE_FILELIST = "filelist" |
Definition at line 40 of file class.ilObjFile.php.
Referenced by ilModulesFileTest\testAppendStream().
| const ilObjFile::MODE_OBJECT = "object" |
Definition at line 41 of file class.ilObjFile.php.
| const ilObjFile::OBJECT_TYPE = "file" |
Definition at line 42 of file class.ilObjFile.php.
Referenced by ilObjFileGUI\__construct(), FileObjectProperties\getObjectTypeString(), ilObjFileGUI\getParentId(), ilObjFileGUI\getType(), ilObjFileListGUI\init(), ilObjFileGUI\initCreationForms(), ilObjFileUploadDropzone\isCopyrightSelectionActive(), and ilObjFileGUI\setTabs().