|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Class ilObjectDAV. More...
Inheritance diagram for ilObjectDAV:
Collaboration diagram for ilObjectDAV: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 | |
| $repo_helper | |
| $dav_helper | |
Class ilObjectDAV.
Base implementation for all ILIAS objects to be represented as a WebDAV object
\DAV\Node
Definition at line 17 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 41 of file class.ilObjectDAV.php.
References $dav_helper, $repo_helper, and ilObject\getRefId().
Here is the call graph for this function:| ilObjectDAV::delete | ( | ) |
Deletes the current node.
| Sabre |
DAV\Exception\Forbidden
| ilRepositoryException |
Reimplemented in ilObjRepositoryRootDAV.
Definition at line 87 of file class.ilObjectDAV.php.
| ilObjectDAV::getLastModified | ( | ) |
Returns the last modification time as a unix timestamp.
If the information is not available, return null.
Definition at line 75 of file class.ilObjectDAV.php.
| ilObjectDAV::getName | ( | ) |
SabreDAV interface function .
Reimplemented in ilObjFileDAV, and ilObjRepositoryRootDAV.
Definition at line 122 of file class.ilObjectDAV.php.
| ilObjectDAV::getObject | ( | ) |
| ilObjectDAV::getObjectId | ( | ) |
Returns the object id of this object.
Definition at line 63 of file class.ilObjectDAV.php.
| ilObjectDAV::getRefId | ( | ) |
Returns the ref id of this object.
Definition at line 54 of file class.ilObjectDAV.php.
References $ref_id.
| ilObjectDAV::setName | ( | $a_name | ) |
Renames the node.
| string | $a_name | The new name |
| Sabre |
DAV\Exception\Forbidden
Reimplemented in ilObjFileDAV, and ilObjRepositoryRootDAV.
Definition at line 103 of file class.ilObjectDAV.php.
|
protected |
Definition at line 29 of file class.ilObjectDAV.php.
Referenced by ilObjContainerDAV\__construct(), ilObjCategoryDAV\__construct(), ilObjCourseDAV\__construct(), __construct(), ilObjFileDAV\__construct(), ilObjFolderDAV\__construct(), ilObjGroupDAV\__construct(), and ilObjRepositoryRootDAV\__construct().
|
protected |
Definition at line 23 of file class.ilObjectDAV.php.
Referenced by getObject().
|
protected |
Definition at line 20 of file class.ilObjectDAV.php.
Referenced by getRefId().
|
protected |
Definition at line 26 of file class.ilObjectDAV.php.
Referenced by ilObjContainerDAV\__construct(), ilObjCategoryDAV\__construct(), ilObjCourseDAV\__construct(), __construct(), ilObjFileDAV\__construct(), ilObjFolderDAV\__construct(), ilObjGroupDAV\__construct(), and ilObjRepositoryRootDAV\__construct().