◆ __construct()
| ilWebDAVObjFactory::__construct |
( |
protected ilWebDAVRepositoryHelper |
$repository_helper, |
|
|
protected ilObjUser |
$current_user, |
|
|
protected Services |
$resource_storage, |
|
|
protected RequestInterface |
$request, |
|
|
protected ilLanguage |
$language, |
|
|
protected string |
$client_id, |
|
|
protected bool |
$versioning_enabled |
|
) |
| |
◆ checkReadAndVisibleAccessForObj()
| ilWebDAVObjFactory::checkReadAndVisibleAccessForObj |
( |
int |
$child_ref | ) |
|
|
protected |
◆ createDAVObject()
| ilWebDAVObjFactory::createDAVObject |
( |
ilObject |
$ilias_object, |
|
|
int |
$parent_ref_id |
|
) |
| |
Definition at line 108 of file class.ilWebDAVObjFactory.php.
References $ref_id, ilObject\create(), ilObject\createReference(), ilObject\getRefId(), ilObject\getTitle(), ilObject\getType(), ilWebDAVNotDavableException\OBJECT_TITLE_NOT_DAVABLE, ilObject\putInTree(), and ilObject\setPermissions().
110 if (!$this->isDAVableObjTitle($ilias_object->
getTitle())) {
114 if ($ilias_object->
getType() ===
'file' &&
115 !$this->hasValidFileExtension($ilias_object->
getTitle())) {
119 if ($ilias_object->
getRefId() === 0) {
122 $ilias_object->
putInTree($parent_ref_id);
128 if ($ilias_object->
getType() ===
'file') {
131 $this->repository_helper,
132 $this->resource_storage,
135 $this->versioning_enabled
144 $this->repository_helper
const OBJECT_TITLE_NOT_DAVABLE
setPermissions(int $parent_ref_id)
createReference()
creates reference for object
create()
note: title, description and type should be set when this function is called
putInTree(int $parent_ref_id)
maybe this method should be in tree object!?
◆ getClientNode()
| ilWebDAVObjFactory::getClientNode |
( |
string |
$name | ) |
|
◆ getMountPoint()
| ilWebDAVObjFactory::getMountPoint |
( |
| ) |
|
◆ getProblemInfoFile()
| ilWebDAVObjFactory::getProblemInfoFile |
( |
int |
$container_ref_id | ) |
|
◆ retrieveDAVObjectByRefID()
| ilWebDAVObjFactory::retrieveDAVObjectByRefID |
( |
int |
$ref_id | ) |
|
◆ $_cache
| array ilWebDAVObjFactory::$_cache = [] |
|
protected |
◆ $davable_object_types
| array ilWebDAVObjFactory::$davable_object_types |
|
private |
The documentation for this class was generated from the following file: