IsaacRankin\SocialFeed\Providers\SocialFeedProvider
Synopsis
class SocialFeedProvider
extends DataObject
{
- // members
- private static array $db = ;
- private static array $summary_fields = ;
- private static string $table_name = 'SocialFeedProvider';
- // methods
- public FieldList getCMSFields()
- public SS_List getFeed()
- public void getFeedUncached()
- public array getFeedCache()
- public int getFeedCacheExpiry()
- public void setFeedCache()
- public void clearFeedCache()
- protected Zend_Cache_Frontend_Output getCacheFactory()
Hierarchy
Extends
- SilverStripe\ORM\DataObject
Members
private
- $db
- $summary_fields
- $table_name
Methods
protected
public
- clearFeedCache() — Clear the cache that holds this providers feed.
- getCMSFields()
- getFeed() — Get feed from provider, will automatically cache the result.
- getFeedCache() — Get the providers feed from the cache. If there is no cache then return false.
- getFeedCacheExpiry() — Get the time() that the cache expires at.
- getFeedUncached() — Retrieve the providers feed without checking the cache first.
- setFeedCache() — Set the cache.