25 require_once
"class.ilObjectDAV.php";
26 require_once
"Modules/Category/classes/class.ilObjCategory.php";
66 return 'httpd/unix-directory';
93 $trans =& $this->obj->getTranslations();
96 $this->obj->removeTranslations();
99 for ($i = 0; $i < count($trans[
"Fobject"]); $i++)
102 $default = ($i == 0) ? 1 : 0;
103 $val = $trans[
"Fobject"][$i];
105 $this->obj->addTranslation($this->obj->getTitle(),$val[
"desc"],$val[
"lang"],$default);
122 $newObj->setTitle(
$name);
125 $newObj->createReference();
126 $newObj->setPermissions($this->
getRefId());
127 $newObj->putInTree($this->getRefID());
128 $newObj->addTranslation(
$name,
'',$lng->getLangKey(),1);