BlogContentInterface
extends
IdentifiableInterface
in
Blog content with a detail page (article, news item, event): translation, main image and region.
Used by the detail Open Graph data and by links to the region-filtered list.
Table of Contents
Methods
- getAsset() : Asset|null
- getId() : int|null
- getRegion() : object|null
- getRegionId() : int|null
- getTranslation() : BaseEntity|null
Methods
getAsset()
public
getAsset() : Asset|null
Return values
Asset|null —main image
getId()
public
getId() : int|null
Return values
int|nullgetRegion()
public
getRegion() : object|null
Return values
object|null —region (loaded with the region include)
getRegionId()
public
getRegionId() : int|null
Return values
int|nullgetTranslation()
public
getTranslation(int $langId) : BaseEntity|null
Parameters
- $langId : int