The Zend_Service_SlideShare component is used to interface with the slideshare.net web server to retrieve slide shows hosted on the web site for display or other processing.
category | Zend |
---|---|
package | Zend_Service |
subpackage | SlideShare |
\Zend_Service_SlideShare_Exception |
|
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
__construct(string $apikey, string $sharedSecret, string $username= null
, string $password= null
)
string
The API key
string
The shared secret
string
The username
string
The password
getApiKey() : string
string
the API KeygetCacheObject() : \Zend_Cache_Core
\Zend_Cache_Core
The object used in cachinggetHttpClient() : \Zend_Http_Client
\Zend_Http_Client
The HTTP client which will be usedgetPassword() : string
string
the password to use in API callsgetSharedSecret() : string
string
the Shared secretgetSlideShow(integer $ssId) : \Zend_Service_SlideShare_SlideShow
integer
The slide show ID
\Zend_Service_SlideShare_Exception |
---|
\Zend_Service_SlideShare_SlideShow
the Slideshow objectgetSlideShowsByGroup(string $group, integer $offset= null
, integer $limit= null
) : array
string
The group name to retrieve slide shows for
integer
The offset of the list to start retrieving from
integer
The maximum number of slide shows to retrieve
array
An array of Zend_Service_SlideShare_SlideShow objectsgetSlideShowsByTag(string $tag, integer $offset= null
, integer $limit= null
) : array
string
The tag to retrieve slide shows with
integer
The offset of the list to start retrieving from
integer
The maximum number of slide shows to retrieve
array
An array of Zend_Service_SlideShare_SlideShow objectsgetSlideShowsByUsername(string $username, integer $offset= null
, integer $limit= null
) : array
string
The username to retrieve slide shows from
integer
The offset of the list to start retrieving from
integer
The maximum number of slide shows to retrieve
array
An array of Zend_Service_SlideShare_SlideShow objectsgetUserName() : string
string
The usernamesetApiKey(string $key) : \Zend_Service_SlideShare
string
The API key to use
\Zend_Service_SlideShare
setCacheObject(\Zend_Cache_Core $cacheobject) : \Zend_Service_SlideShare
\Zend_Cache_Core
The Zend_Cache object used
\Zend_Service_SlideShare
setHttpClient(\Zend_Http_Client $client) : \Zend_Service_SlideShare
\Zend_Http_Client
The HTTP client instance to use
\Zend_Service_SlideShare
setPassword(string $pw) : \Zend_Service_SlideShare
string
The password to use
\Zend_Service_SlideShare
setSharedSecret(string $secret) : \Zend_Service_SlideShare
string
the shared secret
\Zend_Service_SlideShare
setUserName(string $un) : \Zend_Service_SlideShare
string
The username to use
\Zend_Service_SlideShare
uploadSlideShow(\Zend_Service_SlideShare_SlideShow $ss, boolean $makeSrcPublic = true
) : \Zend_Service_SlideShare_SlideShow
\Zend_Service_SlideShare_SlideShow
The slide show object representing the slide show to upload
boolean
Determines if the slide show's source file is public or not upon upload
\Zend_Service_SlideShare_Exception |
---|
\Zend_Service_SlideShare_SlideShow
The passed Slide show object,
with the new assigned ID
provided_getSlideShowsByType(string $key, string $value, integer $offset= null
, integer $limit= null
) : array
string
The type of slide show object to retrieve
string
The specific search query for the slide show type to look up
integer
The offset of the list to start retrieving from
integer
The maximum number of slide shows to retrieve
\Zend_Service_SlideShare_Exception |
---|
array
An array of Zend_Service_SlideShare_SlideShow objects$_apiKey : string
$_cacheobject : \Zend_Cache_Core
$_httpclient : \Zend_Http_Client
$_password : string
$_sharedSecret : string
$_username : string
POWERPOINT_MIME_TYPE = "application/vnd.ms-powerpoint"
SERVICE_ERROR_ACCOUNT_BLOCKED = 100
SERVICE_ERROR_BAD_APIKEY = 1
SERVICE_ERROR_BAD_AUTH = 2
SERVICE_ERROR_DAILY_LIMIT = 99
SERVICE_ERROR_EMPTY_TITLE = 5
SERVICE_ERROR_FILE_TOO_BIG = 8
SERVICE_ERROR_GROUP_NOT_FOUND = 11
SERVICE_ERROR_INVALID_EXT = 7
SERVICE_ERROR_MISSING_FILE = 4
SERVICE_ERROR_MISSING_TAG = 12
SERVICE_ERROR_MISSING_TITLE = 3
SERVICE_ERROR_NOT_SOURCEOBJ = 6
SERVICE_ERROR_SHOW_NOT_FOUND = 9
SERVICE_ERROR_USER_NOT_FOUND = 10
SERVICE_GET_SHOW_BY_GROUP_URI = 'https://www.slideshare.net/api/2/get_slideshows_by_group'
SERVICE_GET_SHOW_BY_TAG_URI = 'https://www.slideshare.net/api/2/get_slideshows_by_tag'
SERVICE_GET_SHOW_BY_USER_URI = 'https://www.slideshare.net/api/2/get_slideshows_by_user'
SERVICE_GET_SHOW_URI = 'https://www.slideshare.net/api/2/get_slideshow'
SERVICE_UPLOAD_URI = 'https://www.slideshare.net/api/2/upload_slideshow'