PHP Class 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).
Inheritance: extends Zend_Controller_Action
Afficher le fichier Open project: padraic/ZFPlanet

Protected Properties

Свойство Type Description
$_feed

Méthodes publiques

Méthode Description
atomAction ( )
init ( )
rssAction ( )

Méthodes protégées

Méthode Description
_generateFeedContainer ( )
_getBaseUri ( )
_handleConditionalGet ( $lastModified )

Method Details

_generateFeedContainer() protected méthode

protected _generateFeedContainer ( )

_getBaseUri() protected méthode

protected _getBaseUri ( )

_handleConditionalGet() protected méthode

protected _handleConditionalGet ( $lastModified )

atomAction() public méthode

public atomAction ( )

init() public méthode

public init ( )

rssAction() public méthode

public rssAction ( )

Property Details

$_feed protected_oe property

protected $_feed