1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/lib
logmanoriginal 28331e7cd6 [BridgeAbstract] Return cached infos when using cached items
Re-requesting the same feed in normal mode (not debug mode)
returns the cached version. The name and URI of the feed
however was not returned.

This adds checks to getName() and getURI() in order to return
the cached infos when using the cached version.

Notice: For this to work correctly all bridges must call to
parent::getName() and parent::getURI() respectively if the
queriedContext is not defined. Example:

switch($this->queriedContext){
	case 'My context':
		// do your stuff here!
		break;
	default: parent::getName();
}
2017-04-23 21:06:25 +02:00
..
Bridge.php [Bridge] Fix whitelist check 2016-09-11 14:02:02 +02:00
BridgeAbstract.php [BridgeAbstract] Return cached infos when using cached items 2017-04-23 21:06:25 +02:00
BridgeInterface.php core: Use methods to access bridge information 2017-02-15 19:38:32 +01:00
Cache.php [Cache] Move 'purge' function to implementations 2016-10-07 22:33:45 +02:00
CacheInterface.php [cache] Specify cache duration for 'purgeCache' 2016-10-08 16:18:10 +02:00
contents.php style: Fix coding styles 2017-02-14 17:28:07 +01:00
error.php [core] Fix typos 2016-11-09 19:10:40 +01:00
Exceptions.php [core] Apply common indentation 2016-09-10 20:41:11 +02:00
FeedExpander.php [FeedExpander] Properly cast simplexml elements 2017-03-13 22:12:11 +01:00
Format.php [core] Apply some fixes 2016-09-10 21:01:02 +02:00
FormatAbstract.php style: Fix coding styles 2017-02-14 17:28:07 +01:00
FormatInterface.php [FormatInterface] Add missing public functions 2016-11-09 18:41:24 +01:00
html.php Add an indicator to show the HTTP status of the site. (#483) 2017-03-18 19:02:18 +00:00
RssBridge.php style: Fix coding styles 2017-02-14 17:28:07 +01:00
validation.php style: Fix coding styles 2017-02-14 17:28:07 +01:00