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
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$_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