--- a/web/lib/Zend/Service/SlideShare/SlideShow.php Thu May 07 15:10:09 2015 +0200
+++ b/web/lib/Zend/Service/SlideShare/SlideShow.php Thu May 07 15:16:02 2015 +0200
@@ -15,9 +15,9 @@
* @category Zend
* @package Zend_Service
* @subpackage SlideShare
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: SlideShow.php 25283 2013-03-09 10:07:13Z frosch $
+ * @version $Id$
*/
@@ -28,7 +28,7 @@
* @category Zend
* @package Zend_Service
* @subpackage SlideShare
- * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Service_SlideShare_SlideShow
@@ -85,11 +85,11 @@
protected $_statusDescription;
/**
- * The Permanent link for the slide show
+ * The URL for the slide show
*
- * @var string the Permalink for the slide show
+ * @var string the URL for the slide show
*/
- protected $_permalink;
+ protected $_url;
/**
* The number of views this slide show has received
@@ -393,23 +393,51 @@
/**
* Sets the permanent link of the slide show
*
+ * @see Zend_Service_SlideShare_SlideShow::setUrl()
+ *
* @param string $url The permanent URL for the slide show
* @return Zend_Service_SlideShare_SlideShow
+ * @deprecated Since 1.12.10, use setUrl()
*/
public function setPermaLink($url)
{
- $this->_permalink = (string)$url;
+ $this->setUrl($url);
return $this;
}
/**
* Gets the permanent link of the slide show
*
+ * @see Zend_Service_SlideShare_SlideShow::getUrl()
+ *
* @return string the permanent URL for the slide show
+ * @deprecated Since 1.12.10, use getUrl()
*/
public function getPermaLink()
{
- return $this->_permalink;
+ return $this->getUrl();
+ }
+
+ /**
+ * Sets the URL of the slide show
+ *
+ * @param string $url The URL for the slide show
+ * @return self
+ */
+ public function setUrl($url)
+ {
+ $this->_url = (string)$url;
+ return $this;
+ }
+
+ /**
+ * Gets the URL of the slide show
+ *
+ * @return string The URL for the slide show
+ */
+ public function getUrl()
+ {
+ return $this->_url;
}
/**
@@ -433,4 +461,4 @@
{
return $this->_numViews;
}
-}
\ No newline at end of file
+}