File indexing completed on 2025-01-19 05:21:06
0001 <?php 0002 /** 0003 * Zend Framework 0004 * 0005 * LICENSE 0006 * 0007 * This source file is subject to the new BSD license that is bundled 0008 * with this package in the file LICENSE.txt. 0009 * It is also available through the world-wide-web at this URL: 0010 * http://framework.zend.com/license/new-bsd 0011 * If you did not receive a copy of the license and are unable to 0012 * obtain it through the world-wide-web, please send an email 0013 * to license@zend.com so we can send you a copy immediately. 0014 * 0015 * @category Zend 0016 * @package Zend_Feed_Reader 0017 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0018 * @license http://framework.zend.com/license/new-bsd New BSD License 0019 * @version $Id$ 0020 */ 0021 0022 /** 0023 * @category Zend 0024 * @package Zend_Feed_Reader 0025 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) 0026 * @license http://framework.zend.com/license/new-bsd New BSD License 0027 */ 0028 interface Zend_Feed_Reader_FeedInterface extends Iterator, Countable 0029 { 0030 /** 0031 * Get a single author 0032 * 0033 * @param int $index 0034 * @return string|null 0035 */ 0036 public function getAuthor($index = 0); 0037 0038 /** 0039 * Get an array with feed authors 0040 * 0041 * @return array 0042 */ 0043 public function getAuthors(); 0044 0045 /** 0046 * Get the copyright entry 0047 * 0048 * @return string|null 0049 */ 0050 public function getCopyright(); 0051 0052 /** 0053 * Get the feed creation date 0054 * 0055 * @return string|null 0056 */ 0057 public function getDateCreated(); 0058 0059 /** 0060 * Get the feed modification date 0061 * 0062 * @return string|null 0063 */ 0064 public function getDateModified(); 0065 0066 /** 0067 * Get the feed description 0068 * 0069 * @return string|null 0070 */ 0071 public function getDescription(); 0072 0073 /** 0074 * Get the feed generator entry 0075 * 0076 * @return string|null 0077 */ 0078 public function getGenerator(); 0079 0080 /** 0081 * Get the feed ID 0082 * 0083 * @return string|null 0084 */ 0085 public function getId(); 0086 0087 /** 0088 * Get the feed language 0089 * 0090 * @return string|null 0091 */ 0092 public function getLanguage(); 0093 0094 /** 0095 * Get a link to the HTML source 0096 * 0097 * @return string|null 0098 */ 0099 public function getLink(); 0100 0101 /** 0102 * Get a link to the XML feed 0103 * 0104 * @return string|null 0105 */ 0106 public function getFeedLink(); 0107 0108 /** 0109 * Get the feed title 0110 * 0111 * @return string|null 0112 */ 0113 public function getTitle(); 0114 0115 /** 0116 * Get all categories 0117 * 0118 * @return Zend_Feed_Reader_Collection_Category 0119 */ 0120 public function getCategories(); 0121 0122 }