|
ILIAS
release_8 Revision v8.24
|
Connector for writing ecs course urls. More...
Inheritance diagram for ilECSCourseUrlConnector:
Collaboration diagram for ilECSCourseUrlConnector:Public Member Functions | |
| addUrl (ilECSCourseUrl $url, int $a_target_mid) | |
| Send url of newly created courses to ecs. More... | |
Public Member Functions inherited from ilECSConnector | |
| __construct (ilECSSetting $settings=null) | |
| addHeader (string $a_name, string $a_value) | |
| Add Header. More... | |
| getHeader () | |
| setHeader (array $a_header_strings) | |
| getServer () | |
| Get current server setting. More... | |
| addAuth (string $a_post, int $a_target_mid) | |
| Add auth resource. More... | |
| getAuth (string $a_hash, bool $a_details_only=false) | |
| get auth resource More... | |
| readEventFifo (bool $a_delete=false) | |
| Read event fifo. More... | |
| getResourceList (string $a_path) | |
| getResource (string $a_path, int $a_econtent_id, bool $a_details_only=false) | |
| Get resources from ECS server. More... | |
| addResource (string $a_path, $a_post) | |
| Add resource. More... | |
| updateResource (string $a_path, int $a_econtent_id, string $a_post_string) | |
| update resource More... | |
| deleteResource (string $a_path, int $a_econtent_id) | |
| Delete resource. More... | |
| getMemberships (int $a_mid=0) | |
Additional Inherited Members | |
Data Fields inherited from ilECSConnector | |
| const | HTTP_CODE_CREATED = 201 |
| const | HTTP_CODE_OK = 200 |
| const | HTTP_CODE_NOT_FOUND = 404 |
| const | HEADER_MEMBERSHIPS = 'X-EcsReceiverMemberships' |
| const | HEADER_COMMUNITIES = 'X-EcsReceiverCommunities' |
Protected Member Functions inherited from ilECSConnector | |
| prepareConnection () | |
| prepare connection More... | |
| call () | |
| call peer More... | |
Protected Attributes inherited from ilECSConnector | |
| string | $path_postfix = '' |
| ilECSSetting | $settings = null |
| ilCurlConnection | $curl = null |
| array | $header_strings = [] |
| ilLogger | $logger |
Connector for writing ecs course urls.
Definition at line 25 of file class.ilECSCourseUrlConnector.php.
| ilECSCourseUrlConnector::addUrl | ( | ilECSCourseUrl | $url, |
| int | $a_target_mid | ||
| ) |
Send url of newly created courses to ecs.
| ilECSConnectorException |
Definition at line 31 of file class.ilECSCourseUrlConnector.php.
References $url, ilECSConnector\addHeader(), ilECSConnector\call(), ilECSConnector\getHeader(), ilECSConnector\HEADER_MEMBERSHIPS, ILIAS\Repository\logger(), and ilECSConnector\prepareConnection().
Here is the call graph for this function: