ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Class ilObjectDAV. More...
Public Member Functions | |
__construct (ilObject $a_obj, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper) | |
Constructor for DAV Object. More... | |
getRefId () | |
Returns the ref id of this object. More... | |
getObjectId () | |
Returns the object id of this object. More... | |
getLastModified () | |
Returns the last modification time as a unix timestamp. More... | |
delete () | |
Deletes the current node. More... | |
setName ($a_name) | |
Renames the node. More... | |
getName () | |
SabreDAV interface function . More... | |
getObject () | |
Returns ILIAS Object. More... | |
Protected Attributes | |
$ref_id | |
$obj | |
$request | |
$repo_helper | |
$dav_helper | |
Class ilObjectDAV.
Base implementation for all ILIAS objects to be represented as a WebDAV object
Definition at line 15 of file class.ilObjectDAV.php.
ilObjectDAV::__construct | ( | ilObject | $a_obj, |
ilWebDAVRepositoryHelper | $repo_helper, | ||
ilWebDAVObjDAVHelper | $dav_helper | ||
) |
Constructor for DAV Object.
Note: There is a good reason why I want an ILIAS-Object in the constructor and not a ref_id. This is because every instance of ilObjectDAV and its inherited children represent an ILIAS-object for WebDAV. If there isn't an ILIAS-object there is no object to represent for WebDAV.
ilObject | $a_obj |
Definition at line 42 of file class.ilObjectDAV.php.
References $dav_helper, $DIC, $repo_helper, and ilObject\getRefId().
ilObjectDAV::delete | ( | ) |
ilObjectDAV::getLastModified | ( | ) |
Returns the last modification time as a unix timestamp.
If the information is not available, return null.
Definition at line 79 of file class.ilObjectDAV.php.
ilObjectDAV::getName | ( | ) |
SabreDAV interface function .
Definition at line 126 of file class.ilObjectDAV.php.
ilObjectDAV::getObject | ( | ) |
ilObjectDAV::getObjectId | ( | ) |
Returns the object id of this object.
Definition at line 67 of file class.ilObjectDAV.php.
ilObjectDAV::getRefId | ( | ) |
Returns the ref id of this object.
Definition at line 58 of file class.ilObjectDAV.php.
References $ref_id.
ilObjectDAV::setName | ( | $a_name | ) |
Renames the node.
string | $a_name | The new name |
Sabre |
Definition at line 107 of file class.ilObjectDAV.php.
|
protected |
Definition at line 30 of file class.ilObjectDAV.php.
Referenced by __construct().
|
protected |
Definition at line 21 of file class.ilObjectDAV.php.
Referenced by getObject().
|
protected |
Definition at line 18 of file class.ilObjectDAV.php.
Referenced by getRefId().
|
protected |
Definition at line 27 of file class.ilObjectDAV.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file class.ilObjectDAV.php.