PHP 클래스 Zfplanet_FeedController, ZFPlanet

.. We've enabled static file caching here so the feeds are saved as actual XML files served directly by Apache (see .htaccess). Apache should handle conditional GETs out of the box. The intention is to make this behaviour configurable (not done yet). If static caching disabled, the code below will always dynamically generate the feed, AND handle conditional GET requests also (saving us from actually generating the feed all the time - costing a single DB query to grab the latest dateModified value).
상속: extends Zend_Controller_Action
파일 보기 프로젝트 열기: padraic/ZFPlanet

보호된 프로퍼티들

프로퍼티 타입 설명
$_feed

공개 메소드들

메소드 설명
atomAction ( )
init ( )
rssAction ( )

보호된 메소드들

메소드 설명
_generateFeedContainer ( )
_getBaseUri ( )
_handleConditionalGet ( $lastModified )

메소드 상세

_generateFeedContainer() 보호된 메소드

protected _generateFeedContainer ( )

_getBaseUri() 보호된 메소드

protected _getBaseUri ( )

_handleConditionalGet() 보호된 메소드

protected _handleConditionalGet ( $lastModified )

atomAction() 공개 메소드

public atomAction ( )

init() 공개 메소드

public init ( )

rssAction() 공개 메소드

public rssAction ( )

프로퍼티 상세

$_feed 보호되어 있는 프로퍼티

protected $_feed