⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 feedentryparent.php

📁 Bug tracker, and reporter.
💻 PHP
📖 第 1 页 / 共 2 页
字号:
        return $this;    }    /**     * Returns the array of categories that classify this feed/entry.  Each     * category is represented in an atom feed by an atom:category element.     *     * @return array Array of Zend_Gdata_App_Extension_Category     */    public function getCategory()    {        return $this->_category;    }    /**     * Sets the array of categories that classify this feed/entry.  Each     * category is represented in an atom feed by an atom:category element.     *     * @param array $value Array of Zend_Gdata_App_Extension_Category     * @return Zend_Gdata_App_FeedEntryParent Provides a fluent interface     */    public function setCategory($value)    {        $this->_category = $value;        return $this;    }    /**     * Returns the array of contributors to this feed/entry.  Each contributor     * is represented in an atom feed by an atom:contributor XML element     *     * @return array An array of Zend_Gdata_App_Extension_Contributor     */    public function getContributor()    {        return $this->_contributor;    }    /**     * Sets the array of contributors to this feed/entry.  Each contributor     * is represented in an atom feed by an atom:contributor XML element     *     * @param array $value     * @return Zend_Gdata_App_FeedEntryParent Provides a fluent interface     */    public function setContributor($value)    {        $this->_contributor = $value;        return $this;    }    /**     * @return Zend_Gdata_App_Extension_Id     */    public function getId()    {        return $this->_id;    }    /**     * @param Zend_Gdata_App_Extension_Id $value     * @return Zend_Gdata_App_FeedEntryParent Provides a fluent interface     */    public function setId($value)    {        $this->_id = $value;        return $this;    }    /**     * Given a particular 'rel' value, this method returns a matching     * Zend_Gdata_App_Extension_Link element.  If the 'rel' value      * is not provided, the full array of Zend_Gdata_App_Extension_Link      * elements is returned.  In an atom feed, each link is represented     * by an atom:link element.  The 'rel' value passed to this function     * is the atom:link/@rel attribute.  Example rel values include 'self',     * 'edit', and 'alternate'.     *     * @param string $rel The rel value of the link to be found.  If null,     *     the array of Zend_Gdata_App_Extension_link elements is returned     * @return mixed Either a single Zend_Gdata_App_Extension_link element,     *     an array of the same or null is returned depending on the rel value     *     supplied as the argument to this function     */    public function getLink($rel = null)    {        if ($rel == null) {            return $this->_link;        } else {            foreach ($this->_link as $link) {                if ($link->rel == $rel) {                    return $link;                }            }            return null;        }    }    /**     * Returns the Zend_Gdata_App_Extension_Link element which represents     * the URL used to edit this resource.  This link is in the atom feed/entry     * as an atom:link with a rel attribute value of 'edit'.       *     * @return Zend_Gdata_App_Extension_Link The link, or null if not found     */    public function getEditLink()    {        return $this->getLink('edit');    }    /**     * Returns the Zend_Gdata_App_Extension_Link element which represents     * the URL used to retrieve the next chunk of results when paging through     * a feed.  This link is in the atom feed as an atom:link with a      * rel attribute value of 'next'.       *     * @return Zend_Gdata_App_Extension_Link The link, or null if not found     */    public function getNextLink()    {        return $this->getLink('next');    }    /**     * Returns the Zend_Gdata_App_Extension_Link element which represents     * the URL used to retrieve the previous chunk of results when paging      * through a feed.  This link is in the atom feed as an atom:link with a      * rel attribute value of 'previous'.       *     * @return Zend_Gdata_App_Extension_Link The link, or null if not found     */    public function getPreviousLink()    {        return $this->getLink('previous');    }    /**     * @return Zend_Gdata_App_Extension_Link     */    public function getLicenseLink()    {        return $this->getLink('license');    }    /**     * Returns the Zend_Gdata_App_Extension_Link element which represents     * the URL used to retrieve the entry or feed represented by this object     * This link is in the atom feed/entry as an atom:link with a      * rel attribute value of 'self'.       *     * @return Zend_Gdata_App_Extension_Link The link, or null if not found     */    public function getSelfLink()    {        return $this->getLink('self');    }    /**     * Returns the Zend_Gdata_App_Extension_Link element which represents     * the URL for an alternate view of the data represented by this feed or     * entry.  This alternate view is commonly a user-facing webpage, blog      * post, etc.  The MIME type for the data at the URL is available from the     * returned Zend_Gdata_App_Extension_Link element.      * This link is in the atom feed/entry as an atom:link with a      * rel attribute value of 'self'.       *     * @return Zend_Gdata_App_Extension_Link The link, or null if not found     */    public function getAlternateLink()    {        return $this->getLink('alternate');    }    /**     * @param array $value The array of Zend_Gdata_App_Extension_Link elements     * @return Zend_Gdata_App_FeedEntryParent Provides a fluent interface     */    public function setLink($value)    {        $this->_link = $value;        return $this;    }    /**     * @return Zend_Gdata_AppExtension_Rights     */    public function getRights()    {        return $this->_rights;    }    /**     * @param Zend_Gdata_App_Extension_Rights $value     * @return Zend_Gdata_App_FeedEntryParent Provides a fluent interface     */    public function setRights($value)    {        $this->_rights = $value;        return $this;    }    /**     * Returns the title of this feed or entry.  The title is an extremely     * short textual representation of this resource and is found as     * an atom:title element in a feed or entry     *     * @return Zend_Gdata_App_Extension_Title     */    public function getTitle()    {        return $this->_title;    }    /**     * Returns a string representation of the title of this feed or entry.       * The title is an extremely short textual representation of this      * resource and is found as an atom:title element in a feed or entry     *     * @return string     */    public function getTitleValue()    {        if (($titleObj = $this->getTitle()) != null) {            return $titleObj->getText();        } else {            return null;        }    }    /**     * Returns the title of this feed or entry.  The title is an extremely     * short textual representation of this resource and is found as     * an atom:title element in a feed or entry     *     * @param Zend_Gdata_App_Extension_Title $value     * @return Zend_Gdata_App_Feed_Entry_Parent Provides a fluent interface     */    public function setTitle($value)    {        $this->_title = $value;        return $this;    }    /**     * @return Zend_Gdata_App_Extension_Updated     */    public function getUpdated()    {        return $this->_updated;    }    /**     * @param Zend_Gdata_App_Extension_Updated $value     * @return Zend_Gdata_App_Feed_Entry_Parent Provides a fluent interface     */    public function setUpdated($value)    {        $this->_updated = $value;        return $this;    }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -