PHP Class Newscoop\CommunityTickerBundle\Meta\MetaCommunityTicker

Show file Open project: sourcefabric/newscoop

Public Properties

Property Type Description
$article MetaArticle
$comment MetaComment
$created string
$params array
$topic MetaTopic
$type string
$user MetaUser

Public Methods

Method Description
__construct ( CommunityTickerEvent $feed = null )

Protected Methods

Method Description
getArticle ( ) : MetaArticle | null Get article
getComment ( ) : MetaComment | null Get comment
getCreated ( CommunityTickerEvent $feed ) : string Get created date
getTopic ( ) : MetaTopic | null Get topic
getUser ( CommunityTickerEvent $feed ) : string Get user

Method Details

__construct() public method

public __construct ( CommunityTickerEvent $feed = null )
$feed Newscoop\CommunityTickerBundle\Entity\CommunityTickerEvent

getArticle() protected method

Get article
protected getArticle ( ) : MetaArticle | null
return MetaArticle | null

getComment() protected method

Get comment
protected getComment ( ) : MetaComment | null
return MetaComment | null

getCreated() protected method

Get created date
protected getCreated ( CommunityTickerEvent $feed ) : string
$feed Newscoop\CommunityTickerBundle\Entity\CommunityTickerEvent
return string

getTopic() protected method

Get topic
protected getTopic ( ) : MetaTopic | null
return MetaTopic | null

getUser() protected method

Get user
protected getUser ( CommunityTickerEvent $feed ) : string
$feed Newscoop\CommunityTickerBundle\Entity\CommunityTickerEvent
return string

Property Details

$article public property

public MetaArticle $article
return MetaArticle

$comment public property

public MetaComment $comment
return MetaComment

$created public property

public string $created
return string

$params public property

public array $params
return array

$topic public property

public MetaTopic $topic
return MetaTopic

$type public property

public string $type
return string

$user public property

public MetaUser $user
return MetaUser