13 * to license@zend.com so we can send you a copy immediately. |
13 * to license@zend.com so we can send you a copy immediately. |
14 * |
14 * |
15 * @category Zend |
15 * @category Zend |
16 * @package Zend_Service |
16 * @package Zend_Service |
17 * @subpackage SlideShare |
17 * @subpackage SlideShare |
18 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
18 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
19 * @license http://framework.zend.com/license/new-bsd New BSD License |
20 * @version $Id: SlideShow.php 25283 2013-03-09 10:07:13Z frosch $ |
20 * @version $Id$ |
21 */ |
21 */ |
22 |
22 |
23 |
23 |
24 /** |
24 /** |
25 * The Zend_Service_SlideShare_SlideShow class represents a slide show on the |
25 * The Zend_Service_SlideShare_SlideShow class represents a slide show on the |
26 * slideshare.net servers. |
26 * slideshare.net servers. |
27 * |
27 * |
28 * @category Zend |
28 * @category Zend |
29 * @package Zend_Service |
29 * @package Zend_Service |
30 * @subpackage SlideShare |
30 * @subpackage SlideShare |
31 * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) |
31 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
32 * @license http://framework.zend.com/license/new-bsd New BSD License |
33 */ |
33 */ |
34 class Zend_Service_SlideShare_SlideShow |
34 class Zend_Service_SlideShare_SlideShow |
35 { |
35 { |
36 /** |
36 /** |
83 * @var string The status description |
83 * @var string The status description |
84 */ |
84 */ |
85 protected $_statusDescription; |
85 protected $_statusDescription; |
86 |
86 |
87 /** |
87 /** |
88 * The Permanent link for the slide show |
88 * The URL for the slide show |
89 * |
89 * |
90 * @var string the Permalink for the slide show |
90 * @var string the URL for the slide show |
91 */ |
91 */ |
92 protected $_permalink; |
92 protected $_url; |
93 |
93 |
94 /** |
94 /** |
95 * The number of views this slide show has received |
95 * The number of views this slide show has received |
96 * |
96 * |
97 * @var int the number of views |
97 * @var int the number of views |
391 } |
391 } |
392 |
392 |
393 /** |
393 /** |
394 * Sets the permanent link of the slide show |
394 * Sets the permanent link of the slide show |
395 * |
395 * |
|
396 * @see Zend_Service_SlideShare_SlideShow::setUrl() |
|
397 * |
396 * @param string $url The permanent URL for the slide show |
398 * @param string $url The permanent URL for the slide show |
397 * @return Zend_Service_SlideShare_SlideShow |
399 * @return Zend_Service_SlideShare_SlideShow |
|
400 * @deprecated Since 1.12.10, use setUrl() |
398 */ |
401 */ |
399 public function setPermaLink($url) |
402 public function setPermaLink($url) |
400 { |
403 { |
401 $this->_permalink = (string)$url; |
404 $this->setUrl($url); |
402 return $this; |
405 return $this; |
403 } |
406 } |
404 |
407 |
405 /** |
408 /** |
406 * Gets the permanent link of the slide show |
409 * Gets the permanent link of the slide show |
407 * |
410 * |
|
411 * @see Zend_Service_SlideShare_SlideShow::getUrl() |
|
412 * |
408 * @return string the permanent URL for the slide show |
413 * @return string the permanent URL for the slide show |
|
414 * @deprecated Since 1.12.10, use getUrl() |
409 */ |
415 */ |
410 public function getPermaLink() |
416 public function getPermaLink() |
411 { |
417 { |
412 return $this->_permalink; |
418 return $this->getUrl(); |
|
419 } |
|
420 |
|
421 /** |
|
422 * Sets the URL of the slide show |
|
423 * |
|
424 * @param string $url The URL for the slide show |
|
425 * @return self |
|
426 */ |
|
427 public function setUrl($url) |
|
428 { |
|
429 $this->_url = (string)$url; |
|
430 return $this; |
|
431 } |
|
432 |
|
433 /** |
|
434 * Gets the URL of the slide show |
|
435 * |
|
436 * @return string The URL for the slide show |
|
437 */ |
|
438 public function getUrl() |
|
439 { |
|
440 return $this->_url; |
413 } |
441 } |
414 |
442 |
415 /** |
443 /** |
416 * Sets the number of views the slide show has received |
444 * Sets the number of views the slide show has received |
417 * |
445 * |