Class TFeedService
TFeedService class
TFeedService provides to end-users feed content.
TFeedService manages a set of feeds. The service parameter, referring to the ID of the feed, specifies which feed content to be provided to end-users.
To use TFeedService, configure it in application configuration as follows,
<service id="feed" class="System.Web.Services.TFeedService"> <feed id="ch1" class="Path.To.FeedClass1" .../> <feed id="ch2" class="Path.To.FeedClass2" .../> <feed id="ch3" class="Path.To.FeedClass3" .../> </service>
where each <feed> element specifies a feed identified by its "id" value (case-sensitive).
PHP configuration style:
array( 'feed' => array( 'ch1' => array( 'class' => 'Path.To.FeedClass1', 'properties' => array( ... ), ), )
The class attribute indicates which PHP class will provide the actual feed
content. Note, the class must implement IFeedContentProvider
interface.
Other initial properties for the feed class may also be specified in the
corresponding <feed> element.
To retrieve the feed content identified by "ch2", use the URL
/path/to/index.php?feed=ch2
- TComponent
-
TApplicationComponent
-
TService implements IService
-
TFeedService
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>
Author: Carl G. Mathisen <carlgmathisen@gmail.com>
Since: 3.1
Located at Web/Services/TFeedService.php
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>
Author: Carl G. Mathisen <carlgmathisen@gmail.com>
Since: 3.1
Located at Web/Services/TFeedService.php
public
|
|
protected
string
|
|
public
|
getEnabled(),
getID(),
setEnabled(),
setID()
|
getApplication(),
getRequest(),
getResponse(),
getService(),
getSession(),
getUser(),
publishAsset(),
publishFilePath()
|
GLOBAL_RAISE_EVENT_LISTENER
|