PRADO Component Framework for PHP 5
  • Home
  • About
  • Testimonials
  • Demos
  • Download
  • Documentation
  • Forum
  • Development
  • Tutorials
  • Class Docs
  • API Manual
  • Wiki

Packages

  • None
  • System
    • Caching
    • Collections
    • Data
      • ActiveRecord
        • Relations
        • Scaffold
          • InputBuilder
      • Commom
        • Sqlite
      • Common
        • Mssql
        • Mysql
        • Oracle
        • Pgsql
        • Sqlite
      • DataGateway
      • SqlMap
        • Configuration
        • Statements
    • Exceptions
    • I18N
    • IO
    • Security
    • Util
    • Web
      • Javascripts
      • Services
      • UI
        • ActiveControls
        • WebControls
    • Xml
  • Wsat
    • pages
  • Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo

Interface IFeedContentProvider

IFeedContentProvider interface.

IFeedContentProvider interface must be implemented by a feed class who provides feed content.

Package: System\Web\Services
Copyright: Copyright © 2005-2014 PradoSoft
License: http://www.pradosoft.com/license/
Author: Qiang Xue <qiang.xue@gmail.com>
Author: Knut Urdalen <knut.urdalen@gmail.com>
Since: 3.1
Located at Web/Services/TFeedService.php
Methods summary
public
# init( TXmlElement $config )

Initializes the feed content provider. This method is invoked (before IFeedContentProvider::getFeedContent()) when the feed provider is requested by a user.

Initializes the feed content provider. This method is invoked (before IFeedContentProvider::getFeedContent()) when the feed provider is requested by a user.

Parameters

$config
TXmlElement
configurations specified within the <feed> element corresponding to this feed provider when configuring TFeedService.
public string
# getFeedContent( )

Returns

string
feed content in proper XML format
public string
# getContentType( )

Sets the content type of the feed content to be sent. Some examples are: RSS 1.0 feed: application/rdf+xml RSS 2.0 feed: application/rss+xml or application/xml or text/xml ATOM feed: application/atom+xml

Sets the content type of the feed content to be sent. Some examples are: RSS 1.0 feed: application/rdf+xml RSS 2.0 feed: application/rss+xml or application/xml or text/xml ATOM feed: application/atom+xml

Returns

string
the content type for the feed content.

Since

3.1.1
Terms of Service | Contact Us
PRADO v3.2.4 API Manual API documentation generated by ApiGen 2.8.0
Copyright © 2006-2014 by the PRADO Group.
Powered by PRADO