PHP Класс Prado\Web\Services\TFeedService

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, 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 {@link 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
С версии: 3.1
Автор: Qiang Xue ([email protected])
Автор: Knut Urdalen ([email protected])
Автор: Carl G. Mathisen ([email protected])
Наследование: extends Prado\TService
Показать файл Открыть проект

Открытые методы

Метод Описание
init ( $config ) Initializes this module.
run ( ) Runs the service.

Защищенные методы

Метод Описание
determineRequestedFeedPath ( ) : string

Описание методов

determineRequestedFeedPath() защищенный метод

protected determineRequestedFeedPath ( ) : string
Результат string the requested feed path

init() публичный метод

This method is required by the IModule interface.
public init ( $config )

run() публичный метод

This method is invoked by application automatically.
public run ( )