File indexing completed on 2024-06-16 05:30:02

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_EntryInterface
0029 {
0030     /**
0031      * Get the specified 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 entry content
0047      *
0048      * @return string
0049      */
0050     public function getContent();
0051 
0052     /**
0053      * Get the entry creation date
0054      *
0055      * @return string
0056      */
0057     public function getDateCreated();
0058 
0059     /**
0060      * Get the entry modification date
0061      *
0062      * @return string
0063      */
0064     public function getDateModified();
0065 
0066     /**
0067      * Get the entry description
0068      *
0069      * @return string
0070      */
0071     public function getDescription();
0072 
0073     /**
0074      * Get the entry enclosure
0075      *
0076      * @return stdClass
0077      */
0078     public function getEnclosure();
0079 
0080     /**
0081      * Get the entry ID
0082      *
0083      * @return string
0084      */
0085     public function getId();
0086 
0087     /**
0088      * Get a specific link
0089      *
0090      * @param  int $index
0091      * @return string
0092      */
0093     public function getLink($index = 0);
0094 
0095     /**
0096      * Get all links
0097      *
0098      * @return array
0099      */
0100     public function getLinks();
0101 
0102     /**
0103      * Get a permalink to the entry
0104      *
0105      * @return string
0106      */
0107     public function getPermalink();
0108 
0109     /**
0110      * Get the entry title
0111      *
0112      * @return string
0113      */
0114     public function getTitle();
0115 
0116     /**
0117      * Get the number of comments/replies for current entry
0118      *
0119      * @return integer
0120      */
0121     public function getCommentCount();
0122 
0123     /**
0124      * Returns a URI pointing to the HTML page where comments can be made on this entry
0125      *
0126      * @return string
0127      */
0128     public function getCommentLink();
0129 
0130     /**
0131      * Returns a URI pointing to a feed of all comments for this entry
0132      *
0133      * @return string
0134      */
0135     public function getCommentFeedLink();
0136 
0137     /**
0138      * Get all categories
0139      *
0140      * @return Zend_Feed_Reader_Collection_Category
0141      */
0142     public function getCategories();
0143 }