db backup prior to drupal security update
[yaffs-website] / vendor / zendframework / zend-feed / src / Reader / Feed / FeedInterface.php
1 <?php
2 /**
3  * Zend Framework (http://framework.zend.com/)
4  *
5  * @link      http://github.com/zendframework/zf2 for the canonical source repository
6  * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
7  * @license   http://framework.zend.com/license/new-bsd New BSD License
8  */
9
10 namespace Zend\Feed\Reader\Feed;
11
12 use Countable;
13 use Iterator;
14
15 /**
16 */
17 interface FeedInterface extends Iterator, Countable
18 {
19     /**
20      * Get a single author
21      *
22      * @param  int $index
23      * @return string|null
24      */
25     public function getAuthor($index = 0);
26
27     /**
28      * Get an array with feed authors
29      *
30      * @return array
31      */
32     public function getAuthors();
33
34     /**
35      * Get the copyright entry
36      *
37      * @return string|null
38      */
39     public function getCopyright();
40
41     /**
42      * Get the feed creation date
43      *
44      * @return \DateTime|null
45      */
46     public function getDateCreated();
47
48     /**
49      * Get the feed modification date
50      *
51      * @return \DateTime|null
52      */
53     public function getDateModified();
54
55     /**
56      * Get the feed description
57      *
58      * @return string|null
59      */
60     public function getDescription();
61
62     /**
63      * Get the feed generator entry
64      *
65      * @return string|null
66      */
67     public function getGenerator();
68
69     /**
70      * Get the feed ID
71      *
72      * @return string|null
73      */
74     public function getId();
75
76     /**
77      * Get the feed language
78      *
79      * @return string|null
80      */
81     public function getLanguage();
82
83     /**
84      * Get a link to the HTML source
85      *
86      * @return string|null
87      */
88     public function getLink();
89
90     /**
91      * Get a link to the XML feed
92      *
93      * @return string|null
94      */
95     public function getFeedLink();
96
97     /**
98      * Get the feed title
99      *
100      * @return string|null
101      */
102     public function getTitle();
103
104     /**
105      * Get all categories
106      *
107      * @return \Zend\Feed\Reader\Collection\Category
108      */
109     public function getCategories();
110 }