ILIAS
release_4-3 Revision
|
Connector for writing ecs course urls. More...
Public Member Functions | |
__construct (ilECSSetting $settings=null) | |
Constructor. | |
addUrl (ilECSCourseUrl $url, $a_target_mid) | |
Send url of newly created courses to ecs. | |
Public Member Functions inherited from ilECSConnector | |
addHeader ($a_name, $a_value) | |
Add Header. | |
getHeader () | |
setHeader ($a_header_strings) | |
getServer () | |
Get current server setting. | |
addAuth ($a_post, $a_target_mid) | |
Add auth resource. | |
getAuth ($a_hash) | |
get auth resource | |
getEventQueues () | |
get event queue | |
readEventFifo ($a_delete=false) | |
Read event fifo. | |
getResourceList ($a_path) | |
getResource ($a_path, $a_econtent_id, $a_details_only=false) | |
Get resources from ECS server. | |
addResource ($a_path, $a_post) | |
Add resource. | |
updateResource ($a_path, $a_econtent_id, $a_post_string) | |
update resource | |
deleteResource ($a_path, $a_econtent_id) | |
Delete resource. | |
getMemberships ($a_mid=0) | |
public |
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 | |
call () | |
call peer | |
Static Protected Member Functions inherited from ilECSConnector | |
static | _fetchEContentIdFromHeader ($a_header) |
fetch new econtent id from location header | |
Protected Attributes inherited from ilECSConnector | |
$path_postfix = '' | |
$settings | |
$header_strings = array() |
Connector for writing ecs course urls.
Definition at line 13 of file class.ilECSCourseUrlConnector.php.
ilECSCourseUrlConnector::__construct | ( | ilECSSetting | $settings = null | ) |
Constructor.
ilECSSetting | $settings |
Reimplemented from ilECSConnector.
Definition at line 19 of file class.ilECSCourseUrlConnector.php.
References ilECSConnector\$settings.
ilECSCourseUrlConnector::addUrl | ( | ilECSCourseUrl | $url, |
$a_target_mid | |||
) |
Send url of newly created courses to ecs.
ilECSConnectorException |
Definition at line 29 of file class.ilECSCourseUrlConnector.php.
References $GLOBALS, $ilLog, $ret, ilECSConnector\addHeader(), ilECSConnector\call(), ilECSConnector\getHeader(), ilECSConnector\HEADER_MEMBERSHIPS, and ilECSConnector\prepareConnection().