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