|
ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Inheritance diagram for ilObjFileDAV:
Collaboration diagram for ilObjFileDAV:Public Member Functions | |
| __construct ($refid, $obj=null) | |
| Constructor. More... | |
| initFromNull () | |
| Initializes the object after it has been converted from the NULL type. More... | |
| createNewVersion () | |
| Creates a new version of the object. More... | |
| getResourceType () | |
| Returns the display name of this object. More... | |
| getContentType () | |
| Returns the mime type of the content of this object. More... | |
| setContentType ($type) | |
| Sets the mime type of the content of this object. More... | |
| setContentLength ($length) | |
| Sets the length (in bytes) of the content of this object. More... | |
| getContentLength () | |
| Returns the number of bytes of the content. More... | |
| getContentStream () | |
| Returns the content of the object as a stream. More... | |
| getContentOutputStream () | |
| Returns an output stream to the content. More... | |
| getContentOutputStreamLength () | |
| Returns the length of the content output stream. More... | |
| getContentData () | |
| Returns the content of the object as a byte array. More... | |
| read () | |
| Reads the object data. More... | |
| write () | |
| Writes the object data. More... | |
Public Member Functions inherited from ilObjectDAV | |
| __construct ($refId, $obj=null) | |
| Constructor. More... | |
| getRefId () | |
| Returns the ref id of this object. More... | |
| getObjectId () | |
| Returns the object id of this object. More... | |
| getNodeId () | |
| Returns the node id of this object. More... | |
| initFromNull () | |
| Initializes the object after it has been converted from NULL. More... | |
| read () | |
| Reads the object data. More... | |
| write () | |
| Writes the object data. More... | |
| getResourceName () | |
| Returns the resource name of this object. More... | |
| setResourceName ($name) | |
| Sets the resource name of this object. More... | |
| getDisplayName () | |
| Returns the display name of this object. More... | |
| getCreationTimestamp () | |
| Returns the creation date of this object as a Unix timestamp. More... | |
| getModificationTimestamp () | |
| Returns the modification date of this object as a Unix timestamp. More... | |
| getResourceType () | |
| Returns the DAV resource type of this object. More... | |
| isCollection () | |
| Returns true if this object is a DAV collection. More... | |
| isFile () | |
| Returns true if this object is a DAV file. More... | |
| isNullResource () | |
| Returns true if this is a null resource. More... | |
| getContentType () | |
| Returns the mime type of the content of this object. More... | |
| setContentType ($type) | |
| Sets the mime type of the content of this object. More... | |
| setContentLength ($length) | |
| Sets the length (number of bytes) of the content of this object. More... | |
| getContentLength () | |
| Returns the number of bytes of the content. More... | |
| getContentStream () | |
| Returns the content of the object as a stream. More... | |
| getContentOutputStream () | |
| Returns an output stream to the content. More... | |
| getContentOutputStreamLength () | |
| Returns the length of the content output stream. More... | |
| getContentData () | |
| Returns the content of the object as a byte array. More... | |
| isOnline () | |
| Returns true if the object is online. More... | |
| isPermitted ($operations, $type='') | |
| Returns whether a specific operation is permitted for the current user. More... | |
| getILIASType () | |
| Returns the ilias type of the current object. More... | |
| getILIASCollectionType () | |
| Returns the ilias type for collections that can be created as children of this object. More... | |
| getILIASFileType () | |
| Returns the ilias type for files that can be created as children of this object. More... | |
| createNewVersion () | |
| Creates a new version of the object. More... | |
| createCollection ($name) | |
| Creates a dav collection as a child of this object. More... | |
| createFile ($name) | |
| Creates a dav file as a child of this object. More... | |
| createFileFromNull ($name, &$nullDAV) | |
| Creates a dav file as a child of this object. More... | |
| createNull ($name) | |
| Creates a dav null object as a child of this object. More... | |
| remove ($objDAV) | |
| Removes the specified child from this object. More... | |
| addCopy (&$objDAV, $newName=null) | |
| Adds a copy of the specified object as a child to this object. More... | |
| cloneNodes ($srcRef, $dstRef, &$mapping, $newName=null) | |
| Recursively clones all nodes of the RBAC tree. More... | |
| addMove (&$objDAV, $newName=null) | |
| Adds (moves) the specified object as a child to this object. More... | |
| removeDeletedNodes ($a_node_id, $a_checked, $a_delete_objects=true) | |
| remove already deleted objects within the objects in trash recursive function More... | |
| children () | |
| Returns the children of this object. More... | |
| childrenWithPermission ($operations, $type='') | |
| Returns the children of this object with the specified permissions. More... | |
| writelog ($message) | |
| Writes a message to the logfile.,. More... | |
| __toString () | |
| This method is needed, because the object class in PHP 5.2 does not have a default implementation of this method anymore. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ilObjectDAV | |
| static | createObject ($refId, $type) |
| Static factory method to create a DAV object for a given refId and type. More... | |
Data Fields inherited from ilObjectDAV | |
| $refId | |
| Refid to the object. More... | |
| $obj | |
| Application layer object. More... | |
| $isDebug = false | |
| The ObjectDAV prints lots of log messages to the ilias log, if this variable is set to true. More... | |
Definition at line 43 of file class.ilObjFileDAV.php.
| ilObjFileDAV::__construct | ( | $refid, | |
$obj = null |
|||
| ) |
Constructor.
| refid | A refid to the object. |
Reimplemented from ilObjectDAV.
Definition at line 50 of file class.ilObjFileDAV.php.
References ilObjectDAV\$obj.
| ilObjFileDAV::createNewVersion | ( | ) |
Creates a new version of the object.
Only objects which support versioning need to implement this method.
Reimplemented from ilObjectDAV.
Definition at line 76 of file class.ilObjFileDAV.php.
References ilHistory\_createEntry().
Here is the call graph for this function:| ilObjFileDAV::getContentData | ( | ) |
Returns the content of the object as a byte array.
Reimplemented from ilObjectDAV.
Definition at line 186 of file class.ilObjFileDAV.php.
| ilObjFileDAV::getContentLength | ( | ) |
Returns the number of bytes of the content.
Reimplemented from ilObjectDAV.
Definition at line 140 of file class.ilObjFileDAV.php.
References ilObjFile\_lookupFileSize().
Here is the call graph for this function:| ilObjFileDAV::getContentOutputStream | ( | ) |
Returns an output stream to the content.
Reimplemented from ilObjectDAV.
Definition at line 157 of file class.ilObjFileDAV.php.
References $file, and ilUtil\makeDirParents().
Here is the call graph for this function:| ilObjFileDAV::getContentOutputStreamLength | ( | ) |
Returns the length of the content output stream.
This method is used by the ilDAVServer, if a PUT operation has been performed for which the client did not specify the content length.
| Integer. |
Reimplemented from ilObjectDAV.
Definition at line 176 of file class.ilObjFileDAV.php.
References $file.
| ilObjFileDAV::getContentStream | ( | ) |
Returns the content of the object as a stream.
Reimplemented from ilObjectDAV.
Definition at line 148 of file class.ilObjFileDAV.php.
References $file.
| ilObjFileDAV::getContentType | ( | ) |
Returns the mime type of the content of this object.
Reimplemented from ilObjectDAV.
Definition at line 114 of file class.ilObjFileDAV.php.
| ilObjFileDAV::getResourceType | ( | ) |
Returns the display name of this object.
Precondition: Object must have been read.
@return String "collection" or "".
Reimplemented from ilObjectDAV.
Definition at line 105 of file class.ilObjFileDAV.php.
| ilObjFileDAV::initFromNull | ( | ) |
Initializes the object after it has been converted from the NULL type.
We create all the additonal object data that is needed, to make the object work.
@return void.
Reimplemented from ilObjectDAV.
Definition at line 65 of file class.ilObjFileDAV.php.
References ilObjectDAV\getRefId(), ilObjectDAV\getResourceName(), and write().
Here is the call graph for this function:| ilObjFileDAV::read | ( | ) |
Reads the object data.
Reimplemented from ilObjectDAV.
Definition at line 194 of file class.ilObjFileDAV.php.
References ilObjectDAV\getRefId().
Here is the call graph for this function:| ilObjFileDAV::setContentLength | ( | $length | ) |
Sets the length (in bytes) of the content of this object.
| Integer. |
Reimplemented from ilObjectDAV.
Definition at line 131 of file class.ilObjFileDAV.php.
| ilObjFileDAV::setContentType | ( | $type | ) |
Sets the mime type of the content of this object.
| String. |
Reimplemented from ilObjectDAV.
Definition at line 123 of file class.ilObjFileDAV.php.
References $type.
| ilObjFileDAV::write | ( | ) |
Writes the object data.
Reimplemented from ilObjectDAV.
Definition at line 205 of file class.ilObjFileDAV.php.
Referenced by initFromNull().
Here is the caller graph for this function: