Class TwilloConnector manages all transactions between Stud.IP and twillo.de.
◆ deleteFromTwillo()
static deleteFromTwillo |
( |
|
$oer_id, |
|
|
|
$user_id = null |
|
) |
| |
|
static |
◆ getHttpProxy()
◆ getTwilloUserID()
static getTwilloUserID |
( |
|
$user_id = null | ) |
|
|
static |
Returns the DFN-AAI-ID for the given user. This ID must be the content of a datafield with the datafield_id in the global config OERCAMPUS_TWILLO_DFNAAIID_DATAFIELD. If either this config or the content of the datafield is null, this method returns false;
- Parameters
-
- Returns
- false|string
◆ uploadMaterial()
static uploadMaterial |
( |
OERMaterial |
$material, |
|
|
|
$user_id = null |
|
) |
| |
|
static |
Transfers the material to twillo.
- Parameters
-
OERMaterial | $material | : the material to transfer |
null | string | $user_id | : The user in whose filesystem of twillo the material should be uploaded to. |
- Returns
- bool|string : true on success, on failure a text-string as error-message
- Exceptions
-
◆ $ticket
◆ $twillo_base_url
$twillo_base_url = 'https://www.twillo.de/edu-sharing' |
|
static |
The documentation for this class was generated from the following file: