25 require_once
"class.ilObjectDAV.php";
26 require_once
"Modules/Category/classes/class.ilObjCategory.php";
47 parent::__construct($refid);
66 return 'httpd/unix-directory';
93 $trans =&$this->obj->getTranslations();
96 $this->obj->removeTranslations();
99 for (
$i = 0;
$i < count($trans[
"Fobject"]);
$i++) {
101 $default = (
$i == 0) ? 1 : 0;
102 $val = $trans[
"Fobject"][
$i];
104 $this->obj->addTranslation($this->obj->getTitle(), $val[
"desc"], $val[
"lang"], $default);
117 $tree = $DIC[
'tree'];
123 $newObj->setTitle(
$name);
126 $newObj->createReference();
127 $newObj->setPermissions($this->
getRefId());
128 $newObj->putInTree($this->getRefID());
129 $newObj->addTranslation(
$name,
'',
$lng->getLangKey(), 1);
createCollection($name)
Creates a dav collection as a child of this object.
getResourceType()
Returns the DAV resource type of this object.
write()
Writes the object data.
__construct($refid)
Constructor.
getContentLength()
Returns the number of bytes of the content.
getILIASCollectionType()
Returns the ilias object type for collections that can be created as children of this object...
getContentType()
Returns the mime type of the content of this object.
getRefId()
Returns the ref id of this object.