|
Moodle
2.2.1
http://www.collinsharper.com
|
Definition at line 50 of file SlideShare.php.
| __construct | ( | $ | apikey, |
| $ | sharedSecret, | ||
| $ | username = null, |
||
| $ | password = null |
||
| ) |
The Constructor
| string | $apikey | The API key |
| string | $sharedSecret | The shared secret |
| string | $username | The username |
| string | $password | The password |
Definition at line 291 of file SlideShare.php.

| _getSlideShowsByType | ( | $ | key, |
| $ | value, | ||
| $ | offset = null, |
||
| $ | limit = null |
||
| ) | [protected] |
Retrieves Zend_Service_SlideShare_SlideShow object arrays based on the type of list desired
| string | $key | The type of slide show object to retrieve |
| string | $value | The specific search query for the slide show type to look up |
| int | $offset | The offset of the list to start retrieving from |
| int | $limit | The maximum number of slide shows to retrieve |
Definition at line 493 of file SlideShare.php.


| _slideShowNodeToObject | ( | SimpleXMLElement $ | node | ) | [protected] |
Converts a SimpleXMLElement object representing a response from the service into a Zend_Service_SlideShare_SlideShow object
| SimpleXMLElement | $node | The input XML from the slideshare.net service |
Definition at line 585 of file SlideShare.php.

| getApiKey | ( | ) |
Gets the API key to be used in making API calls
Definition at line 244 of file SlideShare.php.

| getCacheObject | ( | ) |
Gets the Zend_Cache object which will be used to cache API queries. If no cache object was previously set the the default will be used (Filesystem caching in /tmp with a life time of 43200 seconds)
Definition at line 181 of file SlideShare.php.


| getHttpClient | ( | ) |
Returns the instance of the Zend_Http_Client which will be used. Creates an instance of Zend_Http_Client if no previous client was set.
Definition at line 147 of file SlideShare.php.


| getPassword | ( | ) |
Gets the password to use in API calls
Definition at line 222 of file SlideShare.php.

| getSharedSecret | ( | ) |
Gets the shared secret used in making API calls
Definition at line 266 of file SlideShare.php.

| getSlideShow | ( | $ | ss_id | ) |
Retrieves a slide show's information based on slide show ID
| int | $ss_id | The slide show ID |
Definition at line 385 of file SlideShare.php.

| getSlideShowsByGroup | ( | $ | group, |
| $ | offset = null, |
||
| $ | limit = null |
||
| ) |
Retrieves an array of slide shows based on group name
| string | $group | The group name to retrieve slide shows for |
| int | $offset | The offset of the list to start retrieving from |
| int | $limit | The maximum number of slide shows to retrieve |
Definition at line 478 of file SlideShare.php.

| getSlideShowsByTag | ( | $ | tag, |
| $ | offset = null, |
||
| $ | limit = null |
||
| ) |
Retrieves an array of slide shows based on tag
| string | $tag | The tag to retrieve slide shows with |
| int | $offset | The offset of the list to start retrieving from |
| int | $limit | The maximum number of slide shows to retrieve |
Definition at line 455 of file SlideShare.php.

| getSlideShowsByUsername | ( | $ | username, |
| $ | offset = null, |
||
| $ | limit = null |
||
| ) |
Retrieves an array of slide shows for a given username
| string | $username | The username to retrieve slide shows from |
| int | $offset | The offset of the list to start retrieving from |
| int | $limit | The maximum number of slide shows to retrieve |
Definition at line 442 of file SlideShare.php.

| getUserName | ( | ) |
Returns the user name used for API calls
Definition at line 200 of file SlideShare.php.

| setApiKey | ( | $ | key | ) |
Sets the API key to be used in making API calls
| string | $key | The API key to use |
Definition at line 255 of file SlideShare.php.

| setCacheObject | ( | Zend_Cache_Core $ | cacheobject | ) |
Sets the Zend_Cache object to use to cache the results of API queries
| Zend_Cache_Core | $cacheobject | The Zend_Cache object used |
Definition at line 168 of file SlideShare.php.

| setHttpClient | ( | Zend_Http_Client $ | client | ) |
Sets the Zend_Http_Client object to use in requests. If not provided a default will be used.
| Zend_Http_Client | $client | The HTTP client instance to use |
Definition at line 135 of file SlideShare.php.

| setPassword | ( | $ | pw | ) |
Sets the password to use in API calls
| string | $pw | The password to use |
Definition at line 233 of file SlideShare.php.
| setSharedSecret | ( | $ | secret | ) |
Sets the shared secret used in making API calls
| string | $secret | the shared secret |
Definition at line 277 of file SlideShare.php.
| setUserName | ( | $ | un | ) |
Sets the user name to use for API calls
| string | $un | The username to use |
Definition at line 211 of file SlideShare.php.
| uploadSlideShow | ( | Zend_Service_SlideShare_SlideShow $ | ss, |
| $ | make_src_public = true |
||
| ) |
Uploads the specified Slide show the the server
| Zend_Service_SlideShare_SlideShow | $ss | The slide show object representing the slide show to upload |
| boolean | $make_src_public | Determines if the the slide show's source file is public or not upon upload |
Definition at line 308 of file SlideShare.php.

$_apiKey [protected] |
Definition at line 91 of file SlideShare.php.
$_cacheobject [protected] |
Definition at line 126 of file SlideShare.php.
$_httpclient [protected] |
Definition at line 119 of file SlideShare.php.
$_password [protected] |
Definition at line 112 of file SlideShare.php.
$_sharedSecret [protected] |
Definition at line 98 of file SlideShare.php.
$_username [protected] |
Definition at line 105 of file SlideShare.php.
| const POWERPOINT_MIME_TYPE = "application/vnd.ms-powerpoint" |
The MIME type of Slideshow files
Definition at line 84 of file SlideShare.php.
| const SERVICE_ERROR_ACCOUNT_BLOCKED = 100 |
Definition at line 69 of file SlideShare.php.
| const SERVICE_ERROR_BAD_APIKEY = 1 |
Web service result code mapping
Definition at line 56 of file SlideShare.php.
| const SERVICE_ERROR_BAD_AUTH = 2 |
Definition at line 57 of file SlideShare.php.
| const SERVICE_ERROR_DAILY_LIMIT = 99 |
Definition at line 68 of file SlideShare.php.
| const SERVICE_ERROR_EMPTY_TITLE = 5 |
Definition at line 60 of file SlideShare.php.
| const SERVICE_ERROR_FILE_TOO_BIG = 8 |
Definition at line 63 of file SlideShare.php.
| const SERVICE_ERROR_GROUP_NOT_FOUND = 11 |
Definition at line 66 of file SlideShare.php.
| const SERVICE_ERROR_INVALID_EXT = 7 |
Definition at line 62 of file SlideShare.php.
| const SERVICE_ERROR_MISSING_FILE = 4 |
Definition at line 59 of file SlideShare.php.
| const SERVICE_ERROR_MISSING_TAG = 12 |
Definition at line 67 of file SlideShare.php.
| const SERVICE_ERROR_MISSING_TITLE = 3 |
Definition at line 58 of file SlideShare.php.
| const SERVICE_ERROR_NOT_SOURCEOBJ = 6 |
Definition at line 61 of file SlideShare.php.
| const SERVICE_ERROR_SHOW_NOT_FOUND = 9 |
Definition at line 64 of file SlideShare.php.
| const SERVICE_ERROR_USER_NOT_FOUND = 10 |
Definition at line 65 of file SlideShare.php.
| const SERVICE_GET_SHOW_BY_GROUP_URI = 'http://www.slideshare.net/api/1/get_slideshows_from_group' |
Definition at line 78 of file SlideShare.php.
| const SERVICE_GET_SHOW_BY_TAG_URI = 'http://www.slideshare.net/api/1/get_slideshow_by_tag' |
Definition at line 77 of file SlideShare.php.
| const SERVICE_GET_SHOW_BY_USER_URI = 'http://www.slideshare.net/api/1/get_slideshow_by_user' |
Definition at line 76 of file SlideShare.php.
| const SERVICE_GET_SHOW_URI = 'http://www.slideshare.net/api/1/get_slideshow' |
Definition at line 75 of file SlideShare.php.
| const SERVICE_UPLOAD_URI = 'http://www.slideshare.net/api/1/upload_slideshow' |
Slide share Web service communication URIs
Definition at line 74 of file SlideShare.php.