ILIAS  release_5-4 Revision v5.4.26-12-gabc799a52e6
ilObjCourseDAV Class Reference

Class ilObjCourseDAV. More...

+ Inheritance diagram for ilObjCourseDAV:
+ Collaboration diagram for ilObjCourseDAV:

Public Member Functions

 __construct (ilObjCourse $a_obj, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper)
 Check if given object has valid type and calls parent constructor. More...
 
 getChildCollectionType ()
 All children of a courses will be also folders. More...
 
- Public Member Functions inherited from ilObjContainerDAV
 __construct (ilContainer $a_obj, ilWebDAVRepositoryHelper $repo_helper, ilWebDAVObjDAVHelper $dav_helper)
 Check if given object has valid type and calls parent constructor. More...
 
 createFile ($name, $data=null)
 Creates a new file in the directory. More...
 
 createDirectory ($name)
 Creates a new subdirectory. More...
 
 getChild ($name)
 Returns a specific child node, referenced by its name. More...
 
 getChildren ()
 Returns an array with all the child nodes. More...
 
 childExists ($name)
 Checks if a child-node with the specified name exists. More...
 
 getChildCollectionType ()
 Return the type for child collections of this collection For courses, groups and folders the type is 'fold' For categories the type is 'cat'. More...
 
- Public Member Functions inherited from ilObjectDAV
 __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.
Returns
string
. More...
 
 getObject ()
 Returns ILIAS Object. More...
 
- Public Member Functions inherited from Sabre\DAV\Node
 getLastModified ()
 Returns the last modification time as a unix timestamp. More...
 
 delete ()
 Deletes the current node. More...
 
 setName ($name)
 Renames the node. More...
 

Additional Inherited Members

- Protected Attributes inherited from ilObjectDAV
 $ref_id
 
 $obj
 
 $repo_helper
 
 $dav_helper
 

Detailed Description

Class ilObjCourseDAV.

Implementation for ILIAS Course Objects represented as WebDAV Collections

Author
Raphael Heer rapha.nosp@m.el.h.nosp@m.eer@h.nosp@m.slu..nosp@m.ch $Id$

Definition at line 15 of file class.ilObjCourseDAV.php.

Constructor & Destructor Documentation

◆ __construct()

ilObjCourseDAV::__construct ( ilObjCourse  $a_obj,
ilWebDAVRepositoryHelper  $repo_helper,
ilWebDAVObjDAVHelper  $dav_helper 
)

Check if given object has valid type and calls parent constructor.

Parameters
ilObjCourse$a_obj
ilWebDAVRepositoryHelper$repo_helper
ilWebDAVObjDAVHelper$dav_helper

Definition at line 24 of file class.ilObjCourseDAV.php.

25  {
26  parent::__construct($a_obj, $repo_helper, $dav_helper);
27  }

Member Function Documentation

◆ getChildCollectionType()

ilObjCourseDAV::getChildCollectionType ( )

All children of a courses will be also folders.

Returns
string

Definition at line 34 of file class.ilObjCourseDAV.php.

35  {
36  return 'fold';
37  }

The documentation for this class was generated from the following file: