IsaacRankin\SocialFeed\Providers\SocialFeedProviderTwitter
Synopsis
class SocialFeedProviderTwitter
extends SocialFeedProvider
implements
SocialFeedProviderInterface
{
- // members
- private static array $db = ;
- private static array $field_labels = ;
- private static string $singular_name = 'Twitter Provider';
- private static string $plural_name = 'Twitter Providers';
- private static string $table_name = 'SocialFeedProviderTwitter';
- private string $type = 'twitter';
- // methods
- public void getCMSFields()
- public void getCMSValidator()
- public string getType()
- public void getFeedUncached()
- public HTMLText getPostContent()
- public mixed getPostCreated()
- public mixed getPostUrl()
- public mixed getUserName()
- public mixed getImage()
- // Inherited methods from SocialFeedProvider
- 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
Implements
Members
private
- $db
- $field_labels
- $plural_name
- $singular_name
- $table_name
- $type
Methods
public
- getCMSFields()
- getCMSValidator()
- getFeedUncached()
- getImage() — The first image for a Tweet
- getPostContent()
- getPostCreated() — Get the creation time from a post
- getPostUrl() — Get the post URL from a post
- getType() — Return the type of provider
- getUserName() — The user's name who tweeted
Inherited from IsaacRankin\SocialFeed\Providers\SocialFeedProvider
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.