Property | Type | Description | |
---|---|---|---|
$id | integer | ||
$translations |
Method | Description | |
---|---|---|
__construct ( ) | Constructor | |
__toString ( ) : string | ||
getContent ( ) : string | Get content | |
getCreatedAt ( ) : DateTime | Get createdAt | |
getId ( ) : integer | Get id | |
getJournal ( ) : |
||
getSlug ( ) : string | Get slug | |
getTitle ( ) : string | Get title | |
getTitleTranslations ( ) : string | Get title translations | |
getUpdatedAt ( ) : DateTime | Get updatedAt | |
setContent ( string $content ) | Set content | |
setCreatedAt ( DateTime $createdAt ) | Set createdAt | |
setJournal ( |
||
setSlug ( string $slug ) | Set slug | |
setTitle ( string $title ) | Set title | |
setUpdatedAt ( DateTime $updatedAt ) | Set updatedAt | |
translate ( null $locale = null ) : mixed | Ojs\JournalBundle\Entity\JournalPostTranslation | Translation helper method |
public getTitleTranslations ( ) : string | ||
return | string |
public setCreatedAt ( DateTime $createdAt ) | ||
$createdAt | DateTime |
public setUpdatedAt ( DateTime $updatedAt ) | ||
$updatedAt | DateTime |