|
1 <?php |
|
2 /** |
|
3 * Zend Framework |
|
4 * |
|
5 * LICENSE |
|
6 * |
|
7 * This source file is subject to the new BSD license that is bundled |
|
8 * with this package in the file LICENSE.txt. |
|
9 * It is also available through the world-wide-web at this URL: |
|
10 * http://framework.zend.com/license/new-bsd |
|
11 * If you did not receive a copy of the license and are unable to |
|
12 * obtain it through the world-wide-web, please send an email |
|
13 * to license@zend.com so we can send you a copy immediately. |
|
14 * |
|
15 * @category Zend |
|
16 * @package Zend_Feed_Reader |
|
17 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
18 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
19 * @version $Id: FeedInterface.php 20096 2010-01-06 02:05:09Z bkarwin $ |
|
20 */ |
|
21 |
|
22 /** |
|
23 * @category Zend |
|
24 * @package Zend_Feed_Reader |
|
25 * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com) |
|
26 * @license http://framework.zend.com/license/new-bsd New BSD License |
|
27 */ |
|
28 interface Zend_Feed_Reader_FeedInterface extends Iterator, Countable |
|
29 { |
|
30 /** |
|
31 * Get a single author |
|
32 * |
|
33 * @param int $index |
|
34 * @return string|null |
|
35 */ |
|
36 public function getAuthor($index = 0); |
|
37 |
|
38 /** |
|
39 * Get an array with feed authors |
|
40 * |
|
41 * @return array |
|
42 */ |
|
43 public function getAuthors(); |
|
44 |
|
45 /** |
|
46 * Get the copyright entry |
|
47 * |
|
48 * @return string|null |
|
49 */ |
|
50 public function getCopyright(); |
|
51 |
|
52 /** |
|
53 * Get the feed creation date |
|
54 * |
|
55 * @return string|null |
|
56 */ |
|
57 public function getDateCreated(); |
|
58 |
|
59 /** |
|
60 * Get the feed modification date |
|
61 * |
|
62 * @return string|null |
|
63 */ |
|
64 public function getDateModified(); |
|
65 |
|
66 /** |
|
67 * Get the feed description |
|
68 * |
|
69 * @return string|null |
|
70 */ |
|
71 public function getDescription(); |
|
72 |
|
73 /** |
|
74 * Get the feed generator entry |
|
75 * |
|
76 * @return string|null |
|
77 */ |
|
78 public function getGenerator(); |
|
79 |
|
80 /** |
|
81 * Get the feed ID |
|
82 * |
|
83 * @return string|null |
|
84 */ |
|
85 public function getId(); |
|
86 |
|
87 /** |
|
88 * Get the feed language |
|
89 * |
|
90 * @return string|null |
|
91 */ |
|
92 public function getLanguage(); |
|
93 |
|
94 /** |
|
95 * Get a link to the HTML source |
|
96 * |
|
97 * @return string|null |
|
98 */ |
|
99 public function getLink(); |
|
100 |
|
101 /** |
|
102 * Get a link to the XML feed |
|
103 * |
|
104 * @return string|null |
|
105 */ |
|
106 public function getFeedLink(); |
|
107 |
|
108 /** |
|
109 * Get the feed title |
|
110 * |
|
111 * @return string|null |
|
112 */ |
|
113 public function getTitle(); |
|
114 |
|
115 /** |
|
116 * Get all categories |
|
117 * |
|
118 * @return Zend_Feed_Reader_Collection_Category |
|
119 */ |
|
120 public function getCategories(); |
|
121 |
|
122 } |