ILIAS
trunk Revision v11.0_alpha-1702-gfd3ecb7f852
|
Public Member Functions | |
__construct (protected ilAccessHandler $access, protected ilTree $tree, protected ilRepUtil $repository_util, protected ilWebDAVLocksRepository $locks_repository, protected ilObjFileInfoRepository $file_info_repository) | |
deleteObject (int $ref_id) | |
checkAccess (string $permission, int $ref_id) | |
checkCreateAccessForType (int $ref_id, string $type) | |
objectWithRefIdExists (int $ref_id) | |
getObjectIdFromRefId (int $ref_id) | |
getObjectTitleFromObjId (int $obj_id, bool $escape_forbidden_fileextension=false) | |
getFilenameWithSanitizedFileExtension (int $obj_id) | |
getParentOfRefId (int $ref_id) | |
getObjectTypeFromObjId (int $obj_id) | |
getObjectTitleFromRefId (int $ref_id, bool $escape_forbidden_fileextension=false) | |
getObjectTypeFromRefId (int $ref_id) | |
getChildrenOfRefId (int $ref_id) | |
updateLocksAfterResettingObject (int $old_obj_id, int $new_obj_id) | |
getFileInfo (int $obj_id) | |
locks () | |
Protected Member Functions | |
getRawObjectTitleFromObjId (int $obj_id) | |
Definition at line 23 of file class.ilWebDAVRepositoryHelper.php.
ilWebDAVRepositoryHelper::__construct | ( | protected ilAccessHandler | $access, |
protected ilTree | $tree, | ||
protected ilRepUtil | $repository_util, | ||
protected ilWebDAVLocksRepository | $locks_repository, | ||
protected ilObjFileInfoRepository | $file_info_repository | ||
) |
Definition at line 25 of file class.ilWebDAVRepositoryHelper.php.
ilWebDAVRepositoryHelper::checkAccess | ( | string | $permission, |
int | $ref_id | ||
) |
Definition at line 44 of file class.ilWebDAVRepositoryHelper.php.
References ILIAS\Repository\access().
Referenced by deleteObject().
ilWebDAVRepositoryHelper::checkCreateAccessForType | ( | int | $ref_id, |
string | $type | ||
) |
Definition at line 49 of file class.ilWebDAVRepositoryHelper.php.
References ILIAS\Repository\access().
ilWebDAVRepositoryHelper::deleteObject | ( | int | $ref_id | ) |
Definition at line 34 of file class.ilWebDAVRepositoryHelper.php.
References checkAccess().
ilWebDAVRepositoryHelper::getChildrenOfRefId | ( | int | $ref_id | ) |
ilWebDAVRepositoryHelper::getFileInfo | ( | int | $obj_id | ) |
Definition at line 130 of file class.ilWebDAVRepositoryHelper.php.
ilWebDAVRepositoryHelper::getFilenameWithSanitizedFileExtension | ( | int | $obj_id | ) |
Definition at line 73 of file class.ilWebDAVRepositoryHelper.php.
References getRawObjectTitleFromObjId(), and ilFileUtils\getValidFilename().
Referenced by getObjectTitleFromObjId().
ilWebDAVRepositoryHelper::getObjectIdFromRefId | ( | int | $ref_id | ) |
Definition at line 59 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_lookupObjectId().
Referenced by getObjectTitleFromRefId().
ilWebDAVRepositoryHelper::getObjectTitleFromObjId | ( | int | $obj_id, |
bool | $escape_forbidden_fileextension = false |
||
) |
Definition at line 64 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_lookupType(), getFilenameWithSanitizedFileExtension(), and getRawObjectTitleFromObjId().
Referenced by getObjectTitleFromRefId().
ilWebDAVRepositoryHelper::getObjectTitleFromRefId | ( | int | $ref_id, |
bool | $escape_forbidden_fileextension = false |
||
) |
Definition at line 101 of file class.ilWebDAVRepositoryHelper.php.
References getObjectIdFromRefId(), and getObjectTitleFromObjId().
ilWebDAVRepositoryHelper::getObjectTypeFromObjId | ( | int | $obj_id | ) |
Definition at line 96 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_lookupType().
ilWebDAVRepositoryHelper::getObjectTypeFromRefId | ( | int | $ref_id | ) |
Definition at line 108 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_lookupType().
ilWebDAVRepositoryHelper::getParentOfRefId | ( | int | $ref_id | ) |
Definition at line 91 of file class.ilWebDAVRepositoryHelper.php.
|
protected |
Definition at line 86 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_lookupTitle().
Referenced by getFilenameWithSanitizedFileExtension(), and getObjectTitleFromObjId().
ilWebDAVRepositoryHelper::locks | ( | ) |
Definition at line 135 of file class.ilWebDAVRepositoryHelper.php.
ilWebDAVRepositoryHelper::objectWithRefIdExists | ( | int | $ref_id | ) |
Definition at line 54 of file class.ilWebDAVRepositoryHelper.php.
References ilObject\_exists().
ilWebDAVRepositoryHelper::updateLocksAfterResettingObject | ( | int | $old_obj_id, |
int | $new_obj_id | ||
) |
Definition at line 125 of file class.ilWebDAVRepositoryHelper.php.