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
파일 보기 프로젝트 열기: pradosoft/prado

공개 메소드들

메소드 설명
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 ( )