ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Public Member Functions | |
__construct (ilObjContainerDAV $a_dav_container, ilWebDAVRepositoryHelper $a_repo_helper, ilWebDAVObjDAVHelper $a_dav_helper) | |
put ($data) | |
Since this is a virtual file, put is not possible. More... | |
get () | |
Get the information about problems in the DAV directory. More... | |
getName () | |
Returns the title of the problem info file. More... | |
getContentType () | |
Returns the mime-type for a file which is 'txt/plain'. More... | |
getETag () | |
Returns the ETag for a file. More... | |
getSize () | |
Returns the size of the node, in bytes. More... | |
setName ($a_name) | |
delete () | |
Deleted the current node. More... | |
getLastModified () | |
Returns the last modification time, as a unix timestamp. More... | |
Data Fields | |
const | PROBLEM_INFO_FILE_NAME = '#!_WEBDAV_INFORMATION.txt' |
const | PROBLEM_DUPLICATE_OBJECTNAME = 'duplicate' |
const | PROBLEM_FORBIDDEN_CHARACTERS = 'forbidden_characters' |
const | PROBLEM_INFO_NAME_DUPLICATE = 'info_name_duplicate' |
Protected Member Functions | |
analyseObjectsOfDAVContainer () | |
Analyses objects of the in the constructor given DAV container. More... | |
createMessageStringFromProblemInfoArray (array $problem_infos) | |
Creates a message string out of the found problems in the DAV container. More... | |
Protected Attributes | |
$dav_container | |
$repo_helper | |
$dav_helper | |
Definition at line 5 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::__construct | ( | ilObjContainerDAV | $a_dav_container, |
ilWebDAVRepositoryHelper | $a_repo_helper, | ||
ilWebDAVObjDAVHelper | $a_dav_helper | ||
) |
Definition at line 22 of file class.ilProblemInfoFileDAV.php.
|
protected |
Analyses objects of the in the constructor given DAV container.
Definition at line 118 of file class.ilProblemInfoFileDAV.php.
References $type.
Referenced by get().
|
protected |
Creates a message string out of the found problems in the DAV container.
array | $problem_infos |
Definition at line 163 of file class.ilProblemInfoFileDAV.php.
Referenced by get().
ilProblemInfoFileDAV::delete | ( | ) |
Deleted the current node.
Definition at line 208 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::get | ( | ) |
Get the information about problems in the DAV directory.
Definition at line 49 of file class.ilProblemInfoFileDAV.php.
References analyseObjectsOfDAVContainer(), and createMessageStringFromProblemInfoArray().
ilProblemInfoFileDAV::getContentType | ( | ) |
Returns the mime-type for a file which is 'txt/plain'.
Definition at line 70 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::getETag | ( | ) |
Returns the ETag for a file.
An ETag is a unique identifier representing the current version of the file. If the file changes, the ETag MUST change.
Return null if the ETag can not effectively be determined.
The ETag must be surrounded by double-quotes, so something like this would make a valid ETag:
return '"someetag"';
Definition at line 89 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::getLastModified | ( | ) |
Returns the last modification time, as a unix timestamp.
Return null if the information is not available.
Definition at line 219 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::getName | ( | ) |
Returns the title of the problem info file.
Definition at line 60 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::getSize | ( | ) |
Returns the size of the node, in bytes.
Definition at line 99 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::put | ( | $data | ) |
Since this is a virtual file, put is not possible.
resource | string | $data |
Forbidden |
Definition at line 39 of file class.ilProblemInfoFileDAV.php.
ilProblemInfoFileDAV::setName | ( | $a_name | ) |
string | $a_name |
Forbidden |
Definition at line 108 of file class.ilProblemInfoFileDAV.php.
|
protected |
Definition at line 14 of file class.ilProblemInfoFileDAV.php.
|
protected |
Definition at line 20 of file class.ilProblemInfoFileDAV.php.
|
protected |
Definition at line 17 of file class.ilProblemInfoFileDAV.php.
const ilProblemInfoFileDAV::PROBLEM_DUPLICATE_OBJECTNAME = 'duplicate' |
Definition at line 9 of file class.ilProblemInfoFileDAV.php.
const ilProblemInfoFileDAV::PROBLEM_FORBIDDEN_CHARACTERS = 'forbidden_characters' |
Definition at line 10 of file class.ilProblemInfoFileDAV.php.
const ilProblemInfoFileDAV::PROBLEM_INFO_FILE_NAME = '#!_WEBDAV_INFORMATION.txt' |
Definition at line 7 of file class.ilProblemInfoFileDAV.php.
Referenced by ilObjContainerDAV\getChild().
const ilProblemInfoFileDAV::PROBLEM_INFO_NAME_DUPLICATE = 'info_name_duplicate' |
Definition at line 11 of file class.ilProblemInfoFileDAV.php.