19 declare(strict_types=1);
35 $this->path_postfix =
'/campusconnect/directory_trees';
40 $this->
addHeader(
'Accept',
'text/uri-list');
41 $this->
addHeader(
'X-EcsQueryStrings',
'all=true');
43 $this->
addHeader(
'X-EcsReceiverMemberships', (
string) $a_mid);
46 $this->curl->setOpt(CURLOPT_HTTPHEADER, $this->
getHeader());
61 $this->path_postfix =
'/campusconnect/directory_trees/' . (
int) $tree_id;
66 $this->
addHeader(
'Accept',
'text/uri-list');
67 $this->curl->setOpt(CURLOPT_HTTPHEADER, $this->
getHeader());
70 if (strpos(
$res,
'http') === 0) {
71 $json = file_get_contents(
$res);
const RESULT_TYPE_URL_LIST
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
addHeader(string $a_name, string $a_value)
Add Header.
Presentation of ecs uril (http://...campusconnect/courselinks)
getDirectoryTree($tree_id)
Get single directory tree.
setHeader(array $a_header_strings)
prepareConnection()
prepare connection
getDirectoryTrees(int $a_mid=0)
Get directory tree.