ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 (?string $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) | |
![]() | |
__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) | |
![]() | |
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, int $new_obj_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... | |
![]() | |
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 |
![]() | |
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 () | |
![]() | |
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 () | |
![]() | |
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 | _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 | getIconForType (string $type) |
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 76 of file class.ilObjFile.php.
References $DIC, ILIAS\GlobalScreen\Provider\__construct(), ILIAS\Repository\database(), ilLoggerFactory\getLogger(), initFileInfo(), and ILIAS\Repository\upload().
ilObjFile::appendStream | ( | FileStream | $stream, |
string | $title | ||
) |
FileNamePolicyException |
Definition at line 149 of file class.ilObjFile.php.
References enableNotification(), ensureSuffix(), extractSuffixFromFilename(), getResourceId(), initImplementation(), null, setResourceId(), and updateObjectFromRevision().
ilObjFile::appendSuffixToTitle | ( | string | $title, |
string | $filename | ||
) |
Definition at line 135 of file class.ilObjFile.php.
References ensureSuffix(), and extractSuffixFromFilename().
Referenced by appendUpload(), checkFileExtension(), and replaceWithUpload().
ilObjFile::appendUpload | ( | UploadResult | $result, |
string | $title | ||
) |
FileNamePolicyException |
Definition at line 174 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().
|
protected |
Definition at line 530 of file class.ilObjFile.php.
|
protected |
Definition at line 512 of file class.ilObjFile.php.
References ensureSuffix(), extractSuffixFromFilename(), getMode(), ilObject\getTitle(), ilObject\setTitle(), updateCopyright(), and ilObject\updateMetaData().
ilObjFile::checkFileExtension | ( | string | $new_filename, |
string | $new_title | ||
) |
Definition at line 696 of file class.ilObjFile.php.
References appendSuffixToTitle().
ilObjFile::clearDataDirectory | ( | ) |
Definition at line 633 of file class.ilObjFile.php.
ilObjFile::deleteVersions | ( | $a_hist_entry_ids = null | ) |
Definition at line 642 of file class.ilObjFile.php.
References getResourceId(), and updateObjectFromRevision().
ilObjFile::directDownload | ( | ) |
Definition at line 385 of file class.ilObjFile.php.
|
protected |
Definition at line 466 of file class.ilObjFile.php.
References ilObject2\cloneMetaData(), ilObject\getId(), ilObject\getObjectProperties(), getPageCount(), ilObject\getTitle(), null, ilObject\setTitle(), and ilObject2\update().
|
protected |
Definition at line 436 of file class.ilObjFile.php.
References createProperties(), ilObject\getDescription(), ilObject\getId(), ilObject\getObjectProperties(), notifyCreation(), and updateCopyright().
|
protected |
Definition at line 537 of file class.ilObjFile.php.
References ilHistory\_removeEntriesForObject(), ILIAS\Repository\database(), ilObject\deleteMetaData(), ilObject\getId(), getMode(), getResourceId(), and null.
|
protected |
Definition at line 444 of file class.ilObjFile.php.
References $q, $r, ILIAS\Repository\database(), ilObject\getId(), initImplementation(), ILIAS\Repository\int(), and null.
|
protected |
Definition at line 497 of file class.ilObjFile.php.
References ILIAS\Repository\database(), getArrayForDatabase(), ilObject\getDescription(), ilObject\getId(), initImplementation(), and notifyUpdate().
ilObjFile::export | ( | string | $a_target_dir | ) |
Definition at line 664 of file class.ilObjFile.php.
ilObjFile::getAction | ( | ) |
ilObjFile::getAmountOfDownloads | ( | ) |
Definition at line 400 of file class.ilObjFile.php.
References $amount_of_downloads.
Referenced by getArrayForDatabase(), and sendFile().
|
private |
Definition at line 563 of file class.ilObjFile.php.
References getAmountOfDownloads(), getFileName(), ilObject\getId(), getImportantInfo(), getMode(), getOnClickMode(), getPageCount(), and hasRating().
Referenced by doUpdate().
ilObjFile::getCopyrightID | ( | ) |
ilObjFile::getDirectory | ( | $a_version = 0 | ) |
Definition at line 239 of file class.ilObjFile.php.
ilObjFile::getDownloadFilename | ( | ) |
Definition at line 244 of file class.ilObjFile.php.
ilObjFile::getFile | ( | ?int | $a_hist_entry_id = null | ) |
Implements ilObjFileImplementationInterface.
Definition at line 233 of file class.ilObjFile.php.
References initImplementation().
Referenced by ilCollectWorkspaceFilesJob\getFileDirs().
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 701 of file class.ilObjFile.php.
ilObjFile::getFileName | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 269 of file class.ilObjFile.php.
Referenced by getArrayForDatabase(), and ilDclReferenceFieldRepresentation\getInputField().
ilObjFile::getFileSize | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 313 of file class.ilObjFile.php.
ilObjFile::getFileType | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 326 of file class.ilObjFile.php.
ilObjFile::getImportantInfo | ( | ) |
Definition at line 249 of file class.ilObjFile.php.
References $important_info.
Referenced by getArrayForDatabase().
ilObjFile::getLPMode | ( | ) |
Definition at line 414 of file class.ilObjFile.php.
References ilObject\getId(), and ilObjectLP\getInstance().
ilObjFile::getMaxVersion | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 344 of file class.ilObjFile.php.
References $max_version.
ilObjFile::getMode | ( | ) |
Definition at line 300 of file class.ilObjFile.php.
References $mode.
Referenced by beforeUpdate(), doDelete(), and getArrayForDatabase().
ilObjFile::getOnClickMode | ( | ) |
Definition at line 390 of file class.ilObjFile.php.
References $on_click_mode.
Referenced by getArrayForDatabase().
ilObjFile::getPageCount | ( | ) |
Definition at line 367 of file class.ilObjFile.php.
References $page_count.
Referenced by doCloneObject(), and getArrayForDatabase().
ilObjFile::getPresentationTitle | ( | ) |
Definition at line 97 of file class.ilObjFile.php.
ilObjFile::getResourceId | ( | ) |
Definition at line 290 of file class.ilObjFile.php.
Referenced by appendStream(), appendUpload(), deleteVersions(), doDelete(), replaceWithStream(), replaceWithUpload(), and rollback().
ilObjFile::getStorageID | ( | ) |
Implements ilObjFileImplementationInterface.
Definition at line 295 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 609 of file class.ilObjFile.php.
References $results, appendUpload(), prepareUpload(), and ILIAS\Repository\upload().
ilObjFile::getVersion | ( | bool | $inclduing_drafts = false | ) |
Implements ilObjFileImplementationInterface.
Definition at line 259 of file class.ilObjFile.php.
ilObjFile::getVersions | ( | $version_ids = null | ) |
null | $version_ids |
Definition at line 673 of file class.ilObjFile.php.
Referenced by ilObjFileComponentBuilder\buildConfirmDeleteSpecificVersionsModal().
ilObjFile::handleChangedObjectTitle | ( | string | $new_title | ) |
Implements ilObjFileImplementationInterface.
Definition at line 429 of file class.ilObjFile.php.
References ensureSuffix(), and ilObject\setTitle().
ilObjFile::hasRating | ( | ) |
Definition at line 339 of file class.ilObjFile.php.
References $rating.
Referenced by getArrayForDatabase().
|
protected |
Definition at line 90 of file class.ilObjFile.php.
Referenced by __construct(), initImplementation(), and updateObjectFromRevision().
|
protected |
Definition at line 102 of file class.ilObjFile.php.
References $id, ilObject\getId(), and initFileInfo().
Referenced by appendStream(), appendUpload(), doRead(), doUpdate(), and getFile().
|
protected |
Definition at line 578 of file class.ilObjFile.php.
ilObjFile::isHidden | ( | ) |
Definition at line 624 of file class.ilObjFile.php.
References ilObjFileAccess\_isFileHidden(), and ilObject\getTitle().
|
private |
Definition at line 593 of file class.ilObjFile.php.
References ILIAS\Repository\upload().
Referenced by getUploadFile().
ilObjFile::replaceFile | ( | $a_upload_file, | |
$a_filename | |||
) |
Definition at line 588 of file class.ilObjFile.php.
References null.
ilObjFile::replaceWithStream | ( | FileStream | $stream, |
string | $title | ||
) |
FileNamePolicyException |
Definition at line 197 of file class.ilObjFile.php.
References enableNotification(), getResourceId(), and updateObjectFromRevision().
ilObjFile::replaceWithUpload | ( | UploadResult | $result, |
string | $title | ||
) |
FileNamePolicyException |
Definition at line 213 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().
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 682 of file class.ilObjFile.php.
References getResourceId(), and updateObjectFromRevision().
ilObjFile::sendFile | ( | ?int | $a_hist_entry_id = null , |
bool | $inline = true |
||
) |
bool | $inline |
Implements ilObjFileImplementationInterface.
Definition at line 652 of file class.ilObjFile.php.
References $info, getAmountOfDownloads(), ilObject\getId(), setAmountOfDownloads(), and ilObject2\update().
ilObjFile::setAction | ( | string | $a_action | ) |
ilObjFile::setAmountOfDownloads | ( | int | $amount | ) |
Definition at line 405 of file class.ilObjFile.php.
Referenced by sendFile().
ilObjFile::setCopyrightID | ( | ?string | $copyright_id | ) |
ilObjFile::setFileName | ( | string | $a_name | ) |
Definition at line 274 of file class.ilObjFile.php.
Referenced by updateObjectFromRevision().
ilObjFile::setFileSize | ( | int | $a_size | ) |
Definition at line 321 of file class.ilObjFile.php.
ilObjFile::setFileType | ( | string | $a_type | ) |
Definition at line 334 of file class.ilObjFile.php.
ilObjFile::setImportantInfo | ( | string | $a_important_info | ) |
Definition at line 254 of file class.ilObjFile.php.
References null.
ilObjFile::setMaxVersion | ( | int | $a_max_version | ) |
Definition at line 352 of file class.ilObjFile.php.
ilObjFile::setMode | ( | string | $a_mode | ) |
string | $a_mode | self::MODE_FILELIST or self::MODE_OBJECT |
Definition at line 308 of file class.ilObjFile.php.
ilObjFile::setOnclickMode | ( | int | $on_click_mode | ) |
ilObjFile::setPageCount | ( | int | $page_count | ) |
Definition at line 372 of file class.ilObjFile.php.
References $page_count.
Referenced by appendUpload(), and replaceWithUpload().
ilObjFile::setRating | ( | bool | $a_value | ) |
Definition at line 279 of file class.ilObjFile.php.
ilObjFile::setResourceId | ( | ?string | $resource_id | ) |
Definition at line 284 of file class.ilObjFile.php.
References $resource_id.
Referenced by appendStream(), and appendUpload().
ilObjFile::setVersion | ( | int | $a_version | ) |
Definition at line 264 of file class.ilObjFile.php.
ilObjFile::stripTitleOfFileExtension | ( | string | $a_title | ) |
Definition at line 706 of file class.ilObjFile.php.
ilObjFile::updateObjectFromCurrentRevision | ( | ) |
Definition at line 115 of file class.ilObjFile.php.
References updateObjectFromRevision().
|
private |
Definition at line 122 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().
|
protected |
Definition at line 61 of file class.ilObjFile.php.
Referenced by getAction().
|
protected |
Definition at line 69 of file class.ilObjFile.php.
Referenced by getAmountOfDownloads().
|
protected |
Definition at line 60 of file class.ilObjFile.php.
Referenced by getCopyrightID(), and setCopyrightID().
|
private |
Definition at line 67 of file class.ilObjFile.php.
|
protected |
Definition at line 47 of file class.ilObjFile.php.
|
protected |
Definition at line 55 of file class.ilObjFile.php.
|
protected |
Definition at line 57 of file class.ilObjFile.php.
|
protected |
Definition at line 56 of file class.ilObjFile.php.
|
protected |
Definition at line 49 of file class.ilObjFile.php.
|
protected |
Definition at line 51 of file class.ilObjFile.php.
Referenced by getImportantInfo().
|
protected |
Definition at line 54 of file class.ilObjFile.php.
|
protected |
Definition at line 64 of file class.ilObjFile.php.
|
protected |
Definition at line 59 of file class.ilObjFile.php.
Referenced by getMaxVersion().
string ilObjFile::$mode = self::MODE_OBJECT |
Definition at line 63 of file class.ilObjFile.php.
Referenced by getMode().
|
protected |
Definition at line 68 of file class.ilObjFile.php.
Referenced by getOnClickMode(), and setOnclickMode().
|
protected |
Definition at line 52 of file class.ilObjFile.php.
Referenced by getPageCount(), and setPageCount().
|
protected |
Definition at line 53 of file class.ilObjFile.php.
Referenced by hasRating().
|
protected |
Definition at line 62 of file class.ilObjFile.php.
Referenced by setResourceId().
|
protected |
Definition at line 66 of file class.ilObjFile.php.
|
protected |
Definition at line 65 of file class.ilObjFile.php.
|
protected |
Definition at line 58 of file class.ilObjFile.php.
const ilObjFile::CLICK_MODE_DOWNLOAD = 1 |
Definition at line 45 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 46 of file class.ilObjFile.php.
Referenced by ilObjFileGUI\initPropertiesForm().
const ilObjFile::MODE_FILELIST = "filelist" |
Definition at line 42 of file class.ilObjFile.php.
Referenced by ilModulesFileTest\testAppendStream().
const ilObjFile::MODE_OBJECT = "object" |
Definition at line 43 of file class.ilObjFile.php.
const ilObjFile::OBJECT_TYPE = "file" |
Definition at line 44 of file class.ilObjFile.php.
Referenced by ilObjFileGUI\__construct(), FileObjectProperties\getObjectTypeString(), ilObjFileGUI\getParentId(), ilObjFileGUI\getType(), ilObjFileListGUI\init(), ilObjFileUploadDropzone\isCopyrightSelectionActive(), and ilObjFileGUI\setTabs().