25 require_once
"class.ilObjectDAV.php";
26 require_once
"class.ilObjNull.php";
105 parent::__construct($refid,
$obj);
124 return 'application/x-non-readable';
132 if (is_null($this->obj))
147 $this->obj->setType($type);
149 $this->obj->setPermissions(
$refId);
150 $this->
writelog(
'convertToILIASType '.$type.
' obj='.$this->getObjectId());
152 $converted->obj->createProperties();
static createObject($refId, $type)
Static factory method to create a DAV object for a given refId and type.
write()
Writes the object data.
getResourceType()
Returns the DAV resource type of this object.
convertToILIASType($refId, $type)
Converts this object to the specified ILIAS type.
getContentType()
Returns the mime type of the content of this object.
read()
Reads the object data.
__construct($refid, $obj=null)
Constructor.
$refId
Refid to the object.
writelog($message)
Writes a message to the logfile.,.
$obj
Application layer object.
getRefId()
Returns the ref id of this object.