include/externalAPI/WebEx/ExtAPIWebEx.php
\ExtAPIWebEx
Base implementation for external API
- Parent(s)
- \ExternalAPIBase < \ExternalAPIPlugin
Constants
APP_STRING_ERROR_PREFIX
= 'ERR_EXTERNAL_API_'
- Inherited_from
- \ExternalAPIBase::APP_STRING_ERROR_PREFIX
Properties
$_appStringErrorPrefix= 'self::APP_STRING_ERROR_PREFIX'
self::APP_STRING_ERROR_PREFIX
Details- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$_appStringErrorPrefix
$account_name= ''
- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$account_name
$account_password= ''
- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$account_password
$requireAuth= 'true'
true
Details- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$requireAuth
$useAuth= 'true'
true
Details- Type
- n/a
- Inherited_from
- \ExternalAPIBase::$$useAuth
Methods
addAuthenticationInfo(
\SimpleXMLElement $doc
)
:
void
Adds values to the security context header for a WebEx XML request.
Name | Type | Description |
---|---|---|
$doc | \SimpleXMLElement |
checkLogin(
\EAPM $eapmBean
=
null
)
:
void
Check login
Name | Type | Description |
---|---|---|
$eapmBean | \EAPM |
formatCallbackURL(
\$callback_url $callback_url
)
:
String
This function takes a callback_url and checks the $_REQUEST variable to see if additional parameters should be appended to the callback_url value. The $_REQUEST variables that are being checked deal with handling the behavior of closing/hiding windows/tabs that are displayed when prompting for OAUTH validation
Name | Type | Description |
---|---|---|
$callback_url | \$callback_url | String value of callback URL |
Type | Description |
---|---|
String | value of URL with applicable formatting |
getConnectorParam(
string $name
)
:
mixed
Name | Type | Description |
---|---|---|
$name | string |
Type | Description |
---|---|
mixed |
getErrorStringFromCode(
\unknown_type $error_numb
)
:
void
Allow API clients to provide translated language strings for a given error code
Inherited from: \ExternalAPIBase::getErrorStringFromCode()Name | Type | Description |
---|---|---|
$error_numb | \unknown_type |
getMeetingDetails(
string $bean
)
:
void
Get detailed information about the meeting with key $meeting.
Name | Type | Description |
---|---|---|
$bean | string | meeting- The WebEx meeting key. return: The XML response from the WebEx server. |
getValue(
$value
)
:
void
Name | Type | Description |
---|---|---|
$value |
hostMeeting(
string $bean
)
:
void
Get the url for hosting the meeting with key $meeting.
Name | Type | Description |
---|---|---|
$bean | string | meeting - The WebEx meeting key. return: The XML response from the WebEx server. |
inviteAttendee(
$bean, array $attendee, $sendInvites
=
false
)
:
void
Invite $attendee to the meeting with key $session.
Name | Type | Description |
---|---|---|
$bean | ||
$attendee | array |
|
$sendInvites |
isMimeDetectionAvailable(
)
:
bool
Determine if mime detection extensions are available.
Inherited from: \ExternalAPIBase::isMimeDetectionAvailable()Type | Description |
---|---|
bool |
joinMeeting(
string $bean, string $attendeeName
)
:
void
Get the url for joining the meeting with key $meeting as attendee $attendeeName.
Name | Type | Description |
---|---|---|
$bean | string | meeting - The WebEx meeting key. |
$attendeeName | string | attendeeName - Name of joining attendee return: The XML response from the WebEx server. |
loadEAPM(
\EAPM $eapmBean
)
:
void
Load authorization data
Name | Type | Description |
---|---|---|
$eapmBean | \EAPM |
postData(
$url, $postfields, $headers
)
:
void
Name | Type | Description |
---|---|---|
$url | ||
$postfields | ||
$headers |
postMessage(
\SimpleXMLElement $doc
)
:
void
Sends a request to the WebEx XML API.
Name | Type | Description |
---|---|---|
$doc | \SimpleXMLElement |
uninviteAttendee(
$bean, array $attendeeID
)
:
void
Uninvite the attendee with ID $attendeeID from the meeting.
Note: attendee ID is returned as part of the response to inviteAtendee(). The attendee ID refers to a specific person and a specific meeting.
Name | Type | Description |
---|---|---|
$bean | ||
$attendeeID | array |
|