|
ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
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 Returns the name of the node.This is used to generate the url.
| |
| getObject () | |
| Returns ILIAS Object. More... | |
| getLastModified () | |
| Returns the last modification time as a unix timestamp. More... | |
| delete () | |
| Deletes the current node. More... | |
| setName ($name) | |
| Renames the node. More... | |
| delete () | |
| Deleted the current node. More... | |
| getName () | |
| Returns the name of the node. More... | |
| setName ($name) | |
| Renames the node. More... | |
| getLastModified () | |
| Returns the last modification time, as a unix timestamp. 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, $DIC, $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 from Sabre\DAV\Node.
Reimplemented in ilObjRepositoryRootDAV.
Definition at line 89 of file class.ilObjectDAV.php.
| ilObjectDAV::getLastModified | ( | ) |
Returns the last modification time as a unix timestamp.
If the information is not available, return null.
Reimplemented from Sabre\DAV\Node.
Definition at line 77 of file class.ilObjectDAV.php.
| ilObjectDAV::getName | ( | ) |
SabreDAV interface function Returns the name of the node.This is used to generate the url.
Implements Sabre\DAV\INode.
Reimplemented in ilObjFileDAV, and ilObjRepositoryRootDAV.
Definition at line 124 of file class.ilObjectDAV.php.
| ilObjectDAV::getObject | ( | ) |
| ilObjectDAV::getObjectId | ( | ) |
Returns the object id of this object.
Definition at line 65 of file class.ilObjectDAV.php.
| ilObjectDAV::getRefId | ( | ) |
Returns the ref id of this object.
Definition at line 56 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 from Sabre\DAV\Node.
Reimplemented in ilObjFileDAV, and ilObjRepositoryRootDAV.
Definition at line 105 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().