WebOfTalent\TwitterTools\RenderableAsTwitterCard
Defines the interface for a DataObject renderable as a Twitter. Implementors of this interface must define the following functions in order to work with the {@link RenderTwitter} helper class.
- Author: Gordon Anderson
Synopsis
interface RenderableAsTwitterCard
{
- // methods
- public string getTwitterTitle()
- public string getTwitterImage()
- public string getTwitterDescription()
Methods
public
- getTwitterDescription() — An accessor for text associated with the Twitter
- getTwitterImage() — An accessor method for an image for a Twitter
- getTwitterTitle() — An accessor method for the title of an item in a Twitter